As the title I’m experiencing an error when I’m going to build for ios.
while on android I have no problem with the same folder.
someone can help me?
As the title I’m experiencing an error when I’m going to build for ios.
while on android I have no problem with the same folder.
someone can help me?
I found something similar here: https://forums.coronalabs.com/topic/68752-build-error-there-was-a-problem-linking-the-app/
but I do not use: GPGS.
This is my build:
settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, }, -- -- iOS section -- iphone = { xcassets = "Images.xcassets", plist = { UIStatusBarHidden = false, UILaunchStoryboardName = "LaunchScreen", NSAppTransportSecurity = { NSAllowsArbitraryLoads=true }, }, }, -- -- Android Section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.android.vending.BILLING", }, }, -- -- Plugins section -- plugins = { ["plugin.appodeal"] = { publisherId = "com.coronalabs", }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs" }, ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, ["plugin.utf8"] = { publisherId = "com.coronalabs" }, }, -- -- Project section -- excludeFiles = { -- Exclude unnecessary files for each platform all = { "Icon.png", "Icon-\*dpi.png", "Images.xcassets", }, android = { "LaunchScreen.storyboardc", }, }, }
Can the “plugin.google.iap.v3” be a problem?
no idea?
I solved the problem by removing it:
["plugin.google.iap.v3"] = { publisherId = "com.coronalabs" },
I think there must be a better solution but this worked for me (I just have to remember to do it for every update)
Same issue here. Need to remove the google-IAP so the simulator can build for iOS.
["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, }, },
You should be able to have that w/o the supportedPlatforms statement, but since it is not auto-detecting it is invalid on iOS, you can force it as I showed above.
I’m asking Engineering for a clarification. The only place where we really should ask you to use a supportedPlatforms line is for GPGS since there is technically an iOS version but Google no longer supports it. For now, if that works, include the supportedPlatforms line.
Can you try building again, without the supportedPlatforms line?
Rob
I found something similar here: https://forums.coronalabs.com/topic/68752-build-error-there-was-a-problem-linking-the-app/
but I do not use: GPGS.
This is my build:
settings = { orientation = { -- Supported values for orientation: -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight default = "portrait", supported = { "portrait", }, }, -- -- iOS section -- iphone = { xcassets = "Images.xcassets", plist = { UIStatusBarHidden = false, UILaunchStoryboardName = "LaunchScreen", NSAppTransportSecurity = { NSAllowsArbitraryLoads=true }, }, }, -- -- Android Section -- android = { usesPermissions = { "android.permission.INTERNET", "android.permission.ACCESS\_NETWORK\_STATE", "android.permission.ACCESS\_COARSE\_LOCATION", "android.permission.WRITE\_EXTERNAL\_STORAGE", "android.permission.RECEIVE\_BOOT\_COMPLETED", "com.android.vending.BILLING", }, }, -- -- Plugins section -- plugins = { ["plugin.appodeal"] = { publisherId = "com.coronalabs", }, ["plugin.google.play.services"] = { publisherId = "com.coronalabs", supportedPlatforms = { android=true } }, ["plugin.google.iap.v3"] = { publisherId = "com.coronalabs" }, ["plugin.notifications.v2"] = { publisherId = "com.coronalabs" }, ["plugin.utf8"] = { publisherId = "com.coronalabs" }, }, -- -- Project section -- excludeFiles = { -- Exclude unnecessary files for each platform all = { "Icon.png", "Icon-\*dpi.png", "Images.xcassets", }, android = { "LaunchScreen.storyboardc", }, }, }
Can the “plugin.google.iap.v3” be a problem?
no idea?
I solved the problem by removing it:
["plugin.google.iap.v3"] = { publisherId = "com.coronalabs" },
I think there must be a better solution but this worked for me (I just have to remember to do it for every update)
Same issue here. Need to remove the google-IAP so the simulator can build for iOS.
["plugin.google.iap.v3"] = { publisherId = "com.coronalabs", supportedPlatforms = { android = true, }, },
You should be able to have that w/o the supportedPlatforms statement, but since it is not auto-detecting it is invalid on iOS, you can force it as I showed above.
I’m asking Engineering for a clarification. The only place where we really should ask you to use a supportedPlatforms line is for GPGS since there is technically an iOS version but Google no longer supports it. For now, if that works, include the supportedPlatforms line.
Can you try building again, without the supportedPlatforms line?
Rob