Installation Failed: Invalid Argument -iOS Extension

后端 未结 16 654
南方客
南方客 2020-12-29 06:44

https://imgur.com/vFn0S7g

I am about to build watch app target from existing project. I encountered a strange error upon finishing build that unables me to run the wa

相关标签:
16条回答
  • 2020-12-29 07:02

    After 2 days of research I have found the answer which I believe is an xcode bug.

    Basically this is caused by having different build name on your XCode build settings. Making them uniform should solve the problem. As shown here https://devforums.apple.com/message/1047770#1047770

    I hope this helps anyone stumbled upon this question.

    0 讨论(0)
  • 2020-12-29 07:02

    I got it working after I tried everything mentioned here, then deleting the app from the device and restarting XCode. Those two steps were mentioned here: https://stackoverflow.com/a/28232381/1586277

    I have no idea what combination of steps fixed it though.

    0 讨论(0)
  • 2020-12-29 07:02

    Check your connected device has enough storage space. I had this issue when I tried to run in my iPhone. I cleared the storage by deleting couple of apps and tried to install again and then it works.

    0 讨论(0)
  • 2020-12-29 07:05

    This issue can be resolved simply by emptying the trash.

    0 讨论(0)
  • 2020-12-29 07:07

    Check if the Bundle Identifier isn't empty in the Info.plist

    0 讨论(0)
  • 2020-12-29 07:07

    I just had the same issue. My fix was to delete the temporary project files in the derived data folder:

    rm -R /Users/username/Library/Developer/Xcode/DerivedData/projectname
    
    0 讨论(0)
提交回复
热议问题