cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-9764) Xcode 7: plugins with CFBundleExecutable key in test info.plist rejected by App Store
Date Fri, 23 Oct 2015 21:56:28 GMT

    [ https://issues.apache.org/jira/browse/CB-9764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971945#comment-14971945
] 

Shazron Abdullah commented on CB-9764:
--------------------------------------

There should never be tests included in the final package, I'm not sure what you are doing.
No repro.

{code}
cordova create foo foo foo
cd foo
cordova platform add ios
cordova plugin add cordova-plugin-camera
cordova plugin add cordova-plugin-splashscreen
cordova build --device
cd platforms/ios/build/device/foo.app
cd www/plugins
{code}

On inspection of that folder, it only includes .js files. Not sure why your .app/www contains
the native tests, it's not what I see or have ever seen happen yet. 

Running it in Xcode makes no difference, the files are never in the www tree in the first
place to be packaged.


> 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
>          Components: Plugin Camera
>         Environment: cordova 5.3.1
> iOS 3.9.1
> Xcode 7.0.1 (7A1001)
>            Reporter: Kim Hansen
>              Labels: ios
>
> 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


Mime
View raw message