Using an empty LLDB target which can cause slow memory reads from remote devices [duplicate]
My Xcode 12.2 settings: I use OS BigSur release I found that the setting Architectures>Build Active Architecture Only>Release must be set to Yes
My Xcode 12.2 settings: I use OS BigSur release I found that the setting Architectures>Build Active Architecture Only>Release must be set to Yes
iOS Simulator -> Reset Contents and Settings… Worked for me iOS Simulator -> Reset Contents and Settings… -> Reset
It turns out you also have to add the UDID of the Apple Watch to the Apple Developer Portal, and update your Development provisioning profile to include this UDID. The UDID can be obtained in Devices window of Xcode. After pairing, the info of the Apple Watch will automatically display below the info of your … Read more
You need to create two new AppIDs in the Developer Portal with the correct bundle identifier for your Watchkit app and Watchkit extension. The bundle identifier has to extend the main apps identifier, so if your app is com.myapp it should be com.myapp.watchkitextension and com.myapp.watchkitapp You also need to create the related Provisioning Profiles for … Read more
You have to be careful when changing the bundle identifiers, and here’s how they should be set (you need to change each identifier in the Info.plist for the iPhone app, for the Watchkit Extension and for the Watchkit App): iPhone Application Info.plist: Set any bundle identifier as you like (the “Bundle identifier” property). Example: Bundle … Read more
Select your project settings and go to “TARGETS”. Click on your Watch Kit App, select Build Settings. For the key “iOS Deployment Target” you should find “iOS 8.3”. For some reason Xcode 6.3 Beta 4 wants to have this on “iOS 8.2” for “Debug” and “Release”. Now your project should build as expected. This is … Read more
Remove the WatchKit extension To make sure that your WatchKit extension is no longer visible, you have to do two things: 1) Remove the WatchKit extension from “Target Dependencies” (To go to Target Dependencies: in the project navigator, click the project file. Then click the target of the iPhone app. Go to the Build Phases … Read more
This is an easy method to generate your WatchKit icons, which worked well for me: Upload a source image to http://makeappicon.com Go to Images.xcassets in the WatchKit app Right click on the pane which includes AppIcon, select “Import…”, and choose the watchkit folder that makeappicon.com generated for you
I had this problem with an iPhone app, and fixed it using the following steps. With your device connected, and Xcode open, select Window->Devices In the left tab of the window that pops up, select your problem device In the detail panel on the right, remove the offending app from the “Installed Apps” list. After … Read more
iOS For an iOS app, in Swift 3, 4 or 5: theImageView.image = theImageView.image?.withRenderingMode(.alwaysTemplate) theImageView.tintColor = UIColor.red For Swift 2: theImageView.image = theImageView.image?.imageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate) theImageView.tintColor = UIColor.redColor() Meanwhile, the modern Objective-C solution is: theImageView.image = [theImageView.image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; [theImageView setTintColor:[UIColor redColor]]; Watchkit In WatchKit for Apple Watch apps, you can set the tint color for a template … Read more