Post

Replies

Boosts

Views

Activity

Error when uploading PKG file for MacOS app
We distribute a Mac App as a PKG to the app store. This pkg embed iOS framework as xcframeworks. When we tried to upload the .pkg to App store we got the following error:   TMS-90869: Invalid Bundle - The bundle 'SAP Cloud Platform SDK for iOS Assistant.app/Contents/Resources/iOSFrameworks/Release-xcframework/SAPCommon.xcframework/ios-arm64/SAPCommon.framework' supports arm64 but not Intel. Your build must include the x8664 architecture to support Intel. For more about supporting Intel-based Mac computers, see: https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary_   The current xcframework structure looks like the following:   xxxx.xcframework | _____ info.plist (file) |      ____ ios-arm64(directory) | ____ ios-x8664-maccatalyst(directory)  |   _____ ios-x8664-simulator(directory)   But as per the error, we have to produce one universal FAT binary with two architecture(arm64 and x86_64). Is this the case? Doesn’t xcframwork already embed both architectures?
5
0
1.4k
Mar ’21