Pushwoosh / pushwoosh-phonegap-plugin

Pushwoosh PhoneGap Build Plugin
Other
110 stars 140 forks source link

Binary files not allowed in bundle #378

Closed VaishaliFoko10 closed 2 years ago

VaishaliFoko10 commented 2 years ago

Latest Version - The plugin works fine but when we create an archive for iOS and try to upload it to the app store. The app store complains that binary files are not allowed in the package

wfhm commented 2 years ago

Checking it.

zarko-tg commented 2 years ago

Likewise. This is blocking new releases to AppStore. We're likely reverting to one or another older version that works for both iOS and Android.

Screenshot from Transporter / Xcode 14:

Screenshot 2022-09-26 at 21 56 08

https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle

wfhm commented 2 years ago

@zarko-tg @VaishaliFoko10 what Cordova and cordova-ios versions do you use in your project? Also @VaishaliFoko10 do you use Xcode 14 as well?

For now, it looks like Apple changed something in Xcode 14 (or maybe something was changed with the latest cordova-ios version), and now libraries are being linked to the bundle. Removing the directory from Copy Bundle Resources solved the issue for me. Could you please try the same and let me know about the results?

Screenshot 2022-09-27 at 11 57 19
VaishaliFoko10 commented 2 years ago

Cordova: 11 Cordova-ios versions: 6.2 using Xcode 13.1 Thanks @wfhm, I will try this and let you know

wfhm commented 2 years ago

Fixed in 8.3.8