iOS Question Facebook 2.10 failing to upload to Appstore Connect

Nathan S

New Member
Licensed User
Longtime User
After updating to b4i 8.50, the Facebook login crashed the app.

I fixed by adding a FacebookAppID key to the PLIST as suggested in the logs.

PLIST:
'Facebook
#QueriesSchemes: fbapi
#QueriesSchemes: fb-messenger-api
#QueriesSchemes: fbauth2
#QueriesSchemes: fbshareextension
#UrlScheme: fb00000000000000
#PlistExtra: <key>FacebookAppID</key><string>00000000000000</string> 'Adding this line works for local install.

This worked fine for my local install. However, it fails when using the Appstore Connect uploader.
#MinVersion is set to 14
#MinVersion15 didn't work either.

Any ideas would be greatly appreciated.

LOG:
=============
UPLOAD FAILED with 2 errors.
=============
2024-01-24 07:01:08.661 DEBUG: [ContentDelivery.Uploader] Log file path: /Users/administrator/Library/Logs/ContentDelivery/com.apple.itunes.altool/com.apple.itunes.altool_Upload_2024-01-24_06-59-03_516.txt
2024-01-24 07:01:08.665 *** Error: Error uploading 'JSA OnTheGo.ipa'.
2024-01-24 07:01:08.665 *** Error: Asset validation failed Invalid Bundle. The bundle JSA OnTheGo.app/Frameworks/FBSDKCoreKit.framework does not support the minimum OS Version specified in the Info.plist. (ID: 77a5b5ad-5c49-49f2-a228-2b4971ba9db7) (90208)
 {
    NSLocalizedDescription = "Asset validation failed";
    NSLocalizedFailureReason = "Invalid Bundle. The bundle JSA OnTheGo.app/Frameworks/FBSDKCoreKit.framework does not support the minimum OS Version specified in the Info.plist. (ID: 77a5b5ad-5c49-49f2-a228-2b4971ba9db7)";
    NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 \"Asset validation failed\" UserInfo={status=409, detail=Invalid Bundle. The bundle JSA OnTheGo.app/Frameworks/FBSDKCoreKit.framework does not support the minimum OS Version specified in the Info.plist., id=77a5b5ad-5c49-49f2-a228-2b4971ba9db7, code=STATE_ERROR.VALIDATION_ERROR.90208, title=Asset validation failed, NSLocalizedFailureReason=Invalid Bundle. The bundle JSA OnTheGo.app/Frameworks/FBSDKCoreKit.framework does not support the minimum OS Version specified in the Info.plist., NSLocalizedDescription=Asset validation failed}";
    "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90208";
}
2024-01-24 07:01:08.666 *** Error: Asset validation failed Invalid Bundle. The bundle JSA OnTheGo.app/Frameworks/FBSDKLoginKit.framework does not support the minimum OS Version specified in the Info.plist. (ID: c163d464-ce2e-451d-8285-189931e71547) (90208)
 {
    NSLocalizedDescription = "Asset validation failed";
    NSLocalizedFailureReason = "Invalid Bundle. The bundle JSA OnTheGo.app/Frameworks/FBSDKLoginKit.framework does not support the minimum OS Version specified in the Info.plist. (ID: c163d464-ce2e-451d-8285-189931e71547)";
    NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 \"Asset validation failed\" UserInfo={status=409, detail=Invalid Bundle. The bundle JSA OnTheGo.app/Frameworks/FBSDKLoginKit.framework does not support the minimum OS Version specified in the Info.plist., id=c163d464-ce2e-451d-8285-189931e71547, code=STATE_ERROR.VALIDATION_ERROR.90208, title=Asset validation failed, NSLocalizedFailureReason=Invalid Bundle. The bundle JSA OnTheGo.app/Frameworks/FBSDKLoginKit.framework does not support the minimum OS Version specified in the Info.plist., NSLocalizedDescription=Asset validation failed}";
    "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90208";
}
 

Nathan S

New Member
Licensed User
Longtime User
Try it with #MinVersion: 12

It should work.
Thank-you. This did work.
However, Apple requires that their Apple sign-in is used too and the #MinVersion for this is 13.

I have uploaded successfully. Hopefully this error trap gets around the Apple sign-in issue for now.
B4X:
    If    App.OSVersion<13 Then
        XUI.MsgboxAsync("Please use an alternative sign in method", "Unsupported OS version")
        Return
    End If
 
Upvote 0
Top