Build and Run an xcode project via AppleScript

后端 未结 4 550
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-13 11:13

I\'m trying to build an xcode project and run it through the iPhone Simulator via applescript. I\'m aware of xcodebuild but it doesn\'t let you run the app

4条回答
  •  被撕碎了的回忆
    2020-12-13 11:47

    If the set active SDK command does not work as expected, a workaround would be to create another build configuration named "Debug-Simulator" (in Xcode in the project settings), and to set the base SDK in the new configuration to iphonesimulator3.0. This would allow you to select the SDK by selecting the build configuration (if that works in AppleScript).

提交回复
热议问题