When I try to generate an .app bundle (representing a iOS Simulator build of your app) for uploading to Appetize ( https://support.appetize.io/help/how-to-upload-an-app-to-appetize-io ), using Xcode, it works perfectly if i press the Build & Run button and open the app in a Simulator, but when I try to generate it with command line xcodebuild command I'm getting this crash:
error: module 'DeviceKit' was created for incompatible target arm64-apple-ios8.0
Hi
When I try to generate an .app bundle (representing a iOS Simulator build of your app) for uploading to Appetize ( https://support.appetize.io/help/how-to-upload-an-app-to-appetize-io ), using Xcode, it works perfectly if i press the Build & Run button and open the app in a Simulator, but when I try to generate it with command line xcodebuild command I'm getting this crash:
error: module 'DeviceKit' was created for incompatible target arm64-apple-ios8.0
This is the command for getting the crash:
xcodebuild -sdk iphonesimulator -workspace Project.xcworkspace -scheme Appetize -configuration Debug
I use Xcode 12, with last command tools and last version of DeviceKit, 4.1.0, from cocoapods 1.9.3
PD: this worked perfectly before updating to XCode 12 and cocoapods 1.9.3, when I was using XCode 11.X and cocoapods 1.9.1