IONIC アプリで Bluemix のハイブリッド SDK を使用しようとしていますが、最初のステップでエラーが発生します。
イオンアプリを作成した後:
ionic start PushTeste tabs
ionic add platform ios
ionic plugin add com.ibm.mobile.cordova.ibmcloudcode
ionic plugin add com.ibm.mobile.cordova.ibmpush
ionic build ios
次のエラーが表示されます。
/Users/DaniloOliveira/tmp/PushIonic/platforms/ios/PushIonic/Plugins/com.ibm.mobile.cordova.ibmpush/CDVIBMPush.m:49:89: error: property 'token' not found on object of type 'AppDelegate *'
NSString* token = [[[[((AppDelegate *)[[UIApplication sharedApplication] delegate]).token description]
^ 1 error generated.
** BUILD FAILED **
The following build commands failed: CompileC /Users/DaniloOliveira/PushIonic/platforms/ios/build/PushIonic.build/Debug-iphoneos/PushIonic.build/Objects-normal/armv7/CDVIBMPush.o PushIonic/Plugins/com.ibm.mobile.cordova.ibmpush/CDVIBMPush.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler (1 failure) Error: /Users/DaniloOliveira/tmp/PushIonic/platforms/ios/cordova/run: Command failed with exit code 65
at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
私はネイティブ開発者でも、Cordova プラグイン開発者でもないので、appe アプリの構造がわかりません...
私の環境:
- X コード 6
- マック 10.9.5
- iPhone 6 IOS 8.1.1
なにか提案を?