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

前端 未结 11 1239
隐瞒了意图╮
隐瞒了意图╮ 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:58

    This can also happen in Xcode 7 because "Upgrade to recommended settings" will change CFBundleIdentifier to point to $(PRODUCT_BUNDLE_IDENTIFIER) instead of the old $(BUNDLE_IDENTIFIER).

    Apple says in the Xcode 7 release notes that PRODUCT_BUNDLE_IDENTIFIER is now "the recommended place to set the Bundle Identifier for a target." So if you're using BUNDLE_IDENTIFIER anyplace else in your project, be sure to change it to PRODUCT_BUNDLE_IDENTIFIER to keep things in sync.

提交回复
热议问题