Telerik-Verified-Plugins / InAppPurchase

In-App Purchase for PhoneGap / Cordova iOS and Android
8 stars 3 forks source link

Error building with Telerik Cordova 5.0.0 #5

Open stebogit opened 8 years ago

stebogit commented 8 years ago

Hello, I am trying to update my app with the last cordova version, but when I tried to build for iOS with appbuilder I got this error:

Project "PirateRoaming.tmp.proj" (default targets):
    Warning: Cannot include the following item(s) in your application: .DS_Store;Plugins\appsflyer_for_iOS\.gitignore;Plugins\cordova-plugin-contacts-master\.gitignore;Plugins\cordova-plugin-geolocation-master\.gitignore;Plugins\cordova-plugin-geolocation-master\.travis.yml;Plugins\cordova-plugin-statusbar-master\.travis.yml;Plugins\Cordova-sqlite-storage-master-rc\.gitignore;Plugins\Cordova-sqlite-storage-master-rc\.travis.yml;Plugins\Cordova-sqlite-storage-master-rc\spec\.cordova\config.json;Plugins\Cordova-sqlite-storage-master-rc\spec\platforms\.gitignore;Plugins\Cordova-sqlite-storage-master-rc\spec\plugins\.gitignore;Plugins\Cordova-sqlite-storage-master-rc\src\external\.gitignore;Plugins\ionic-plugins-keyboard-master\.gitignore;Plugins\ionic-plugins-keyboard-master\src\blackberry10\native\.cproject;Plugins\ionic-plugins-keyboard-master\src\blackberry10\native\.project;Plugins\Phonegap-SMS-master\.gitignore. The build system treats items with a leading dot as hidden files or directories and does not process them. If you want to include these items in your application package, rename them and rebuild your app.
    ios Build Tooling revision 2016.05.12.1r
    Warning: security: unable to open "'/Users/builder/Library/MobileDevice/Provisioning Profiles/81238d33-b978-4eb6-9014-3521bcbd30aa.mobileprovision'" for reading: No such file or directory
    Error: [xcode-build] Compile /Users/builder/.TelerikPluginsCache/cc.fovea.cordova.purchase/4.0.0/src/ios/SKProduct+LocalizedPrice.m:
    Error: [xcode-build] Compile /Users/builder/.TelerikPluginsCache/cc.fovea.cordova.purchase/4.0.0/src/ios/InAppPurchase.m: In file included from /Users/builder/.TelerikPluginsCache/cc.fovea.cordova.purchase/4.0.0/src/ios/InAppPurchase.m:9:
/Users/builder/.TelerikPluginsCache/cc.fovea.cordova.purchase/4.0.0/src/ios/InAppPurchase.h:13:9: fatal error: 'Cordova/NSData+Base64.h' file not found
    Error: [xcode-build] Compile /Users/builder/BpcTooling/Cordova3/5.0.0/CorePlugins/cordova-plugin-dialogs/src/ios/CDVNotification.m:
    Error: [xcode-build] Compile /Users/builder/BpcTooling/Cordova3/Plugins/com.telerik.LiveSync/src/ios/Resources/TLKLiveSyncPlugin.m:
    Error: [xcode-build] Compile /Users/builder/BpcTooling/Cordova3/Plugins/com.telerik.LiveSync/src/ios/Resources/TLKLiveSyncManager.m: <module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerConnection.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerDataRequest.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerDataResponse.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerErrorResponse.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerFileRequest.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerFileResponse.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerFunctions.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerHTTPStatusCodes.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerMultiPartFormRequest.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerPrivate.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerStreamedResponse.h' [-Wincomplete-umbrella]
<module-includes>:1:1: warning: umbrella header for module 'GCDWebServer' does not include header 'GCDWebServerURLEncodedFormRequest.h' [-Wincomplete-umbrella]
/Users/builder/BpcTooling/Cordova3/Plugins/com.telerik.LiveSync/src/ios/Resources/TLKLiveSyncManager.m:5:2: warning: missing submodule 'GCDWebServer.GCDWebServerDataResponse' [-Wincomplete-umbrella]
    Error: [xcode-build] Compile /Users/builder/BpcTooling/Cordova3/Plugins/com.telerik.LiveSync/src/ios/Resources/UIViewController+LiveSync.m:
    Error: [xcode-build] Compile /Users/builder/.TelerikPluginsCache/nl.x-services.plugins.socialsharing/5.0.6/src/ios/SocialSharing.m:
    Error: [xcode-build] Compile /Users/builder/.TelerikPluginsCache/com.pushwoosh.plugins.pushwoosh/3.6.16.1/src/ios/PushNotification.m:
    Error: Buld failed
    Error: 'Build failed with error code 2'
Done building project "PirateRoaming.tmp.proj" -- FAILED.

How can I fix it?

I installed the plugin (v.4.0.0) running appbuilder plugin add "Purchase" (then entering the Billing_Key). I have now reference to the plugin in my .abproject, .debug.abproject and .release.abproject files (under "CorePlugins") and I have also the folder containing the entire plugin code in my Plugins folder, together with all the other non verified/core plugins. Is this all correct?

Thanks

EvanWieland commented 7 years ago

@stebogit I have the same error. Did you ever find a solution?

stebogit commented 7 years ago

nope, I left that project, sorry I can't be of help.

EvanWieland commented 7 years ago

K. Thanks!

On May 10, 2017, 3:34 PM -0500, Stefano Borghi notifications@github.com, wrote:

nope, I left that project, sorry I can't be of help.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/Telerik-Verified-Plugins/InAppPurchase/issues/5#issuecomment-300604357, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHdDNpBFzqXn_90GS1mt1FVK-k1iwmUKks5r4h9RgaJpZM4IjuNJ.