Installation Failed “Invalid argument” when trying to run Today application extension

前端 未结 11 1163
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 02:14

I added a vanilla Today Application Extension and run with the new scheme created by XCode.
After it finishes building (\"Build Succeeded\" pops up), it failed straight

相关标签:
11条回答
  • 2020-12-05 02:45

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

    0 讨论(0)
  • 2020-12-05 02:45

    This issue occurred in my case when the phone's memory was too low to install the app. I've cleaned up the phone and voila!

    Another hint might be this post.

    0 讨论(0)
  • 2020-12-05 02:46

    Try this:

    1. Quit Xcode
    2. Clean out ~/Library/Developer/Xcode/DerivedData manually
    3. rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache"
    4. iOS Simulator > Reset Content and Settings
    0 讨论(0)
  • 2020-12-05 02:46

    I was getting the same error - although in different conditions - and it took me a while to realise that I had inadvertently messed with the Info.plist (thank you user2866588!) via a Search & Replace operation.

    Once fixed that file, the error went away. It's a long shot, but you never know...

    0 讨论(0)
  • 2020-12-05 02:51

    I got this error after installing new pods (AWS) to my project. Somehow the entry in the Build Settings for Info.plist file was cleared. Entering the correct filepath (find in finder) my project finally compiled again.

    0 讨论(0)
  • 2020-12-05 02:57

    I got this error when my test phone had low memory (around 288MB free). After restart and clearing some cached data, I was able to install my app.

    0 讨论(0)
提交回复
热议问题