Xcode 6.3.1 "A signed resource has been added, changed, or removed"

My xcode version is 6.3.1, my app is swift project with WatchKit target.

Xcode showed this message: "A signed resource has been added, changed, or removed" when I launched it on my iPhone 6.

It works fine on iPhone 5s, iPad and simulator, so I guess this is not a certificate issue, right?

I tried to remove the "derived data" suggested in the question xcode 6 beta 7: An added or modified signed resource has been added.

After I delete the "derived data", on first launch it stopped automatically after "build" (the app was not installed on my iPhone), when I ran it again the message appeared again.

I also tried restarting Xcode, Macbook, iPhone 6 anyway.

+3


source to share


1 answer


If you are using coaoapods this cocoapods fix might fix part of this problem

https://github.com/CocoaPods/CocoaPods/pull/3390

If this link is not valid

Edit $ COCOAPODS_DIR / lib / cocoapods / generator / embed_frameworks_script.rb

66 - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers/\" --filter \"- PrivateHeaders/\" ${source} ${destination}"
67 - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers/" --filter "- PrivateHeaders/" "${source}" "${destination}"
66 + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers/\" --filter \"- PrivateHeaders/\" --filter \"- Modules/\" ${source} ${destination}"
67 + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers/" --filter "- PrivateHeaders/" --filter "- Modules/" "${source}" "${destination}"

      

// line number may change.



But still need to delete some data (including ModuleCache and YourProject-xxxx) in

~/Library/Developer/Xcode/DerivedData

      

every time before compiling the application.

+2


source







All Articles