Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue when uploading built frameworks to ITC.
Because the order in which the frameworks were copied (simulator vs device) could vary, sometimes we ended up with the Info.plist used by the simulator, which upsets iTunesConnect with the following message: [12:54:45]: ERROR ITMS-90542: "Invalid CFBundleSupportedPlatforms value. The key 'CFBundleSupportedPlatforms' in the Info.plist file in bundle 'Payload/Skyscanner.app/Frameworks/OAStackView.framework/OAStackView.bundle' contains an invalid value '[iPhoneSimulator]'. Consider removing the CFBundleSupportedPlatforms key from the Info.plist. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue." Fix is to copy the simulator frameworks first, so the device Info.plist overwrites it.
- Loading branch information