Installation Failed: Invalid Argument -iOS Extension
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.
Installation Failed: Invalid Argument after moving to Xcode 7
This happens because "Upgrade to recommended settings" will change the info.plist's 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, you have to change it to PRODUCT_BUNDLE_IDENTIFIER
to keep things in sync.
Unable to run app in Simulator: An error was encountered while running (Domain = LaunchServicesError, Code = 0)
This has now been resolved. The problem was caused by ShareKit library added by CocoaPods for compatibility reasons. After removing the library and all related code, the app successfully launched in simulator. I recommend checking the system log for more details on the issue as to me it pointed me in the right direction (stating the name of conflicting library).
Related Topics
Convert JSON String to JSON Object in Swift 4
Hide Dots from Uipageviewcontroller
Get Email and Name Facebook Sdk V4.4.0 Swift
Swift Regex: Does a String Match a Pattern
When Will Applicationwillterminate Be Called
Why Does Uicollectionview Log an Error When the Cells Are Fullscreen
Change Uidatepicker Font Color
Swiftui - Navigationlink Cell in a Form Stays Highlighted After Detail Pop
Wanted: How to Reliably, Consistently Select an Mkmapview Annotation
Xcode Tabbed Application - Adding New Tab View
Run Repeating Nstimer with Gcd
iPhone Collecting Coremotion Data in the Background. (Longer Than 10 Mins)
How to Delete Derived Data and Clean Project in Xcode 5 and Later
Implementing Auto Layout for Views Generated Programmatically
Swift: Testing Optionals for Nil
How to Find the Purple Port for the Front Most Application in iOS 5 and Above