All my attempts failed again…
So, I tried with the Images.xassets folder given by corona. I went to the sample code folder, picked up one of the Images.xassets folder and copied it in my own project. But I always get that same error.
To publish one the app store, I use mac in cloud and I noticed that in the build window, in the iOS SDK section, it was written: “10.3 (UNSUPPORTED: Local iOS SDK is 11.4 which does not match)”.
In addition, I have this message in the console log:
WARNING: issue found in build.settings: Sep 06 04:56:02.744 WARNING: unrecognized key: settings.iphone.plist.NSPhotoLibraryAddUsageDescription (string) Sep 06 04:56:02.744 WARNING: unrecognized key: settings.iphone.xcassets (string)
Here is my build.settings:
settings = { orientation = { default = "portrait", }, plugins = { ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, }, android = { allowAppsReadOnlyAccessToFiles = true, largeHeap = true, usesPermissions = { "android.permission.INTERNET", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.ACCESS\_FINE\_LOCATION", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.ACCESS\_NETWORK\_STATE", }, }, iphone = { xcassets = "Images.xcassets", plist = { UILaunchStoryboardName = "LaunchScreen", -- Required! UIStatusBarHidden = true, CFBundleIdentifier = "com.learning.power", NSPhotoLibraryUsageDescription = "This app would like to access the photo library.", NSPhotoLibraryAddUsageDescription = "This app would like to add the photo library.", }, }, }
Is there anyhting wrong with my build.settings?