iOS Simulator failed to install the application

前端 未结 17 1385
有刺的猬
有刺的猬 2020-11-28 21:16

I have created a Cordova 2.1.0 app, It ran fine for the first 2-3 times. But now when I am trying to run it through terminal it is giving me the following error.I didn\'t ch

17条回答
  •  南方客
    南方客 (楼主)
    2020-11-28 22:03

    I encountered this problem while trying to create a build for Facebook application approval. I found that for some reason, when I used the following command line:

    xcodebuild -arch i386 -sdk iphonesimulator7.1 -scheme Mana -configuration Release

    the files didn't end up in [project root]/build/... (as the instructions on Facebook suggest), but in ~/Library/Developer/Xcode/DerivedData/[app name + unique identifier]/Build/Products.

    I'm not sure exactly what's going on here (anyone who knows more please enlighten me!) but I was able to run the files in the DerivedData directory on the simulator. Hopefully they'll also work for Facebook!

提交回复
热议问题