I have set up my Jenkins job to build the .app target to open with Appium. In the console output, the build command is
$ /usr/bin/xcodebuild -target MyApp -sdk iphonesimulator9.3 -configuration test_config clean build
I try running the same command on my local machine, and am able to open the .app target with Appium. However, when I run Appium against the .app target generated by my Jenkins job, the simulator will load the launch screen and crash immediately. After doing much searching, I have been unable to get to the source of the problem. I've set my Appium settings, enabled native instruments, and a bunch of other things found here and on Stack Overflow but to no avail.
The not so useful crash log I see in the Appium console output is:
[iOSLog] [IOS_SYSLOG_ROW] Jun 1 15:19:11 Dans-MacBook-Pro com.apple.CoreSimulator.SimDevice.9AE7C2C2-3CB4-4A44-8288-AC2924D08A74.launchd_sim[69715] (UIKitApplication:com.myapp.MyApp 0x4fd4][69803]): Service exited due to signal: Trace/BPT trap: 5
Any tips on how to begin to debug this? Thank you!