iOS Simulator failed to install the application

前端 未结 17 1377
有刺的猬
有刺的猬 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 21:47

    I tried everything mentioned above and nothing worked. My problem was iOS 7 specific. I was finally able to resolve the issue by assigning a non-empty value to Bundle versions string, short (CFBundleShortVersionString) in the -Info.plist file. Looks like iOS 7 doesn't like an empty value for the build number. I had a script that auto increments the bundle number by 1 every time I build the project so this field was empty. I just assigned a dummy value there to get it working.

提交回复
热议问题