You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kim Hansen (JIRA)" <ji...@apache.org> on 2015/10/07 23:33:26 UTC

[jira] [Created] (CB-9764) Xcode 7: plugins with CFBundleExecutable key in test info.plist rejected by App Store

Kim Hansen created CB-9764:
------------------------------

             Summary: Xcode 7: plugins with CFBundleExecutable key in test info.plist rejected by App Store
                 Key: CB-9764
                 URL: https://issues.apache.org/jira/browse/CB-9764
             Project: Apache Cordova
          Issue Type: Bug
         Environment: cordova 5.3.1
iOS 3.9.1
Xcode 7.0.1 (7A1001)
            Reporter: Kim Hansen


Apps submitted to App Store get rejected.

STEPS TO REPRODUCE:

Plugins included:
(!540)-> cordova plugins ls
cc.fovea.plugins.inapppurchase 3.4.1 "InAppPurchase"
com.phonegap.plugins.PushPlugin 2.5.0 "PushPlugin"
com.smartmobilesoftware.inappbilling 3.0.0 "Android InAppBilling"
cordova-plugin-background-task 0.2.0 "Background Task"
cordova-plugin-camera 1.2.0 "Camera" <-- OFFENDING
cordova-plugin-console 1.0.1 "Console"
cordova-plugin-device 1.0.1 "Device"
cordova-plugin-dialogs 1.1.1 "Notification"
cordova-plugin-file 3.0.0 "File"
cordova-plugin-globalization 1.0.1 "Globalization"
cordova-plugin-inappbrowser 1.0.1 "InAppBrowser"
cordova-plugin-media 1.0.1 "Media"
cordova-plugin-network-information 1.0.1 "Network Information"
cordova-plugin-splashscreen 2.1.0 "Splashscreen" <-- OFFENDING
cordova-plugin-statusbar 1.0.1 "StatusBar"
cordova-plugin-vibration 1.2.0 "Vibration"
cordova-plugin-whitelist 1.1.1-dev "Whitelist"
de.appplant.cordova.plugin.email-composer 0.8.2 "EmailComposer"
de.appplant.cordova.plugin.local-notification 0.8.2dev "LocalNotification"

1) cordova clean;cordova build iOS 
2) open project in Xcode
3) Xcode > Product > Clean
4) Xcode > Product > Archive
5) Xcode > Window > Organizer, select archive and Upload to App Store...
6) deal with code signing
7) get successful upload, wait for notification from iTunes Store

EXPECTED RESULTS:
success!

ACTUAL RESULTS:
email as follows:

"Dear developer,

We have discovered one or more issues with your recent delivery for "xxxx". To process your delivery, the following issues must be corrected:

Invalid Bundle - Info.plist of “xxxx.app/www/plugins/cordova-plugin-camera/tests/ios/CDVCameraTest/CDVCameraLibTests” specifies a non-existent file for the CFBundleExecutable key...

Invalid Bundle - Info.plist of “xxxx.app/www/plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenLibTests” specifies a non-existent file for the CFBundleExecutable key...

Once these issues have been corrected, you can then redeliver the corrected binary.

Regards,

The App Store team"

-- UNSUCCESSFUL WORKAROUNDS:
• edit info.plist files in the project root/plugins folder to remove the key
• remove entries in Xcode's Code Signing Resource Rules Path that may have been added by CI build system

-- SUCCESSFUL WORKAROUND
• remove key from offending plugin info.plist files per http://stackoverflow.com/a/32502927



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org