Xcode 6.2 and watch device in simulator - xcode

In Xcode 6.2 and just testing the initial build of a watch app with no buttons, labels, text fields, just insuring that a blank app runs after adding the WatchApp as the target and selecting the watch in simulator hardware I get the following error.
Asset Catalog set AppIcon has an unassinged image and
Ambiguous Content The app icon set "ApplIcon has unassigned image.
The simulator pops up with both the IPhone 6 and Watch images but I get these two errors

This is a known issue, please see Xcode 6.2 Release Notes
i.e.
When creating a new Apple Watch app target, the newly created asset
catalog includes an "Unassigned" slot in the catalog's app icon.
Select the "Unassigned" slot and delete it using the Delete key.
(19978639)
The same is - at this moment- in Xcode 6.3.

Related

Asset Catalog images not displaying in Watch Simulator using Xcode 10?

My asset catalog images (.pdf images shared between iPhone and Watch app) are not displaying when running the Apple Watch Simulator using Xcode 10. They do display on the Xcode 9 watch simulator as well as on devices running Watch OS5. Is this an Xcode Bug?
Apple has just confirmed that it is a bug of the Xcode 10 simulators and that this issue is not present in real devices.
It happens only with .pdf images when the preserve vector data option is enabled.

Image from asset catalog not accessible

In my project I have multiple asset catalogs, one of which is named images.xcassets.
I am able to access all the images inside said asset catalog using either UIImage(named: "image.png") or #imageLiteral(resourceName: "image.png") (with and without the file extension .png).
Issue
Now, trying to access resource image2.png works just fine with the iOS 11.2 iPad 10.5" simulator. However, the exact same build crashes when using the iOS 11.2 iPad 12.9" (2nd gen.) simulator with the following "message":
Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
This issue has just emerged, I was always able to access the image before today. I have not touched a thing...
What I've tried
target membership set to project's target
removed the asset catalog from Copy Bundle Resources in Build Phases
cleaned and rebuilt the project
deleted image2.png from the catalog and added it back
deleted the whole asset catalog and added it back
deleted the app from the 12.9" simulator and re-installed it
quit & re-opened Xcode and the simulator
Any idea why this specific resource can't be accessed anymore?
Notes:
so far, I didn't run into this error using real devices (tested with iPad Air 2 & iPad Pro 1st Gen.)
Has to do with the color space apparently.
I was able to "save for web" in Photoshop and convert the image to sRGB for an image file that doesn't crash in the iPad Pro 12.9" 2nd generation simulator.

Unable to upload iOS app with Application Loader ( ERROR ITMS-90023 )

I'm trying to upload an app using Application Loader.
It returns the following errors:
X description length:723218
X ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '76x76' pixels in .png format for iOS versions >= 7.0."
X ERROR ITMS-90023: "Missing required icon file. The bundle does not contain an app icon for iPad of exactly '152x152' pixels in .png format for iOS versions >= 7.0."
! WARNING ITMS-90704: "Missing Marketing icon. iOS apps must include a 1024x1024px Marketing icon in PNG format. Apps that do not include the Markering icon cannot be submitted for App Review or Beta App Review."
I'm using Xcode 9.0.1. The error appeared first in Xcode 9.0. The icons are present in the app of the correct sizes and without alpha channel. The app runs fine in all simulators.
I've also tried uploading an app, which did go through Application Loader two weeks ago, but the error turns up for that app as well. It seems Apple has changed something.
Any ideas on how to solve this?
Now in IOS 11, we need to add a new icon in our project of size 1024*1024. Also, make sure you are using released version not a beta version. Also add the missing icons 76x76 and 152*152
1) Under the project in Xcode navigate to “Your project -> Images.xcassets->AppIcon"
2) Scroll to the bottom
3) Add a 1024x1024 icon

Xcode9 WARNING ITEMS-90704, ERROR ITMS-90022

ERROR ITMS-90022: "Missing required icon file. The bundle does not
contain an app icon for iPhone / iPod Touch of exactly '120x120'
pixels, in .png format for iOS versions >= 7.0."
WARNING ITMS-90704: "Missing Marketing Icon. iOS Apps must include a
1024x1024px Marketing Icon in PNG format. Apps that do not include the
Marketing Icon cannot be submitted for App Review or Beta App Review."
I set the appropriate image (PNG format) in all fields of the xcassets file.
But one error and warning comes out.
Environment
Xcode 9.0 release version
Cocoapods
Carthage
Xcode 9 has new icon sizes. Please check the Images.xcassets file: AppIcon
In my case, it indicates a missing of AppStore Icon;
Xcode9 added a new icon in AppIcon called App Store iOS 1024pt, so add the icon missing resolved this issue.
In my case, the 90704 message said, "iOS Apps must include a 1024x1024px App Store Icon in PNG format. Without providing the icon in the Asset Catalog or via iTunes Connect, apps cannot be submitted for App Review or Beta App Review." This indicates that having the store icon as part of the store listing as I've always had it is enough. But Apple wouldn't accept my app until I also added the store icon to the app itself (in the AppIcon asset catalog).
My app has a watch extension, and I also had to add the store icon to the watch extension's asset catalog.
Don't forget to increment your build number after adding the icons, or Apple will then reject the app for having a duplicate build number.
We had this issue when tried to submit the app from macOS 10.13 High Sierra.
Everything was okay when we switched to stable macOS 10.12.6
Probably it's a bug of APFS/Xcode 9/CocoaPods...
You can archive your application by Xcode 9 and upload this archive by Xcode 8. Or you can edit Info.plist file in the archive and switch the value of field 'BuildMachineOSBuild' to 16A323. Why this? I don't know, but it works. I found this solution here: https://forums.developer.apple.com/thread/86290
After uploading you see only warning.
UPD:
Probably Apple fixed this bug. Now my archives are uploaded correctly without any modifications.

Xcode Simulator For iPad app displays zoomed in like and iPhone app

I created a brand new Xcode project using the master detail template. Just running the project off the bat my Xcode simulator runs all iPad devices in the below format.
It looks like an iPhone app is being ran on an iPad. In the bottom right corner there is a 1x button. When clicked it turns into a 2x button.
I've reset all device and settings in the simulator and changed the project to run on on other iPad devices but still having the issue. Again this is an out of the box project with no adjustments made. Ive attached a screenshot of what it looks like.
Did you check this setting in the "general" tab in your project build settings is set to iPad instead of iPhone?

Resources