Question: Asset validation error about self-made framework lib

Prepared archive for validation Validation failed

  1. error: Asset validation failed

Missing Bundle Identifier. The application bundle contains a tool or framework [aaa.bbb.ccc.ddd.pkg/Payload/my.app/Contents/Frameworks/Abc.framework] that is missing the bundle identifier in its Info.plist file. (ID: 8d117580-6d15-4b9e-8a0c-3bd069c66c77)

  1. error: Asset validation failed

Bad Bundle Executable. You must include a valid CFBundleExecutable key in the nested bundle [aaa.bbb.ccc.ddd.pkg/Payload/shudou.app/Contents/Frameworks/Abc.framework] property list file. (ID: 62894f06-c782-4d67-85df-91912d1b6609)

Abc.framwork is a pre-built lib used in swift. I put following keys in Abc.xcframework's Info.plist, but no effect.

<key>CFBundleIdentifier</key>
<string>aaa.bbb.ccc.ddd.Libname</string>
<key>CFBundleExecutable</key>
<string>Libname</string>

Replies

What do you mean by “self-made framework lib”? Is this something you’ve built from source using a Framework target in Xcode? If not, how was it built?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • The library is composed in golang, then built by gomobile bind for macos, as Abc.xcframework.

    The same library (gomobile bind for ios) performs flawlessly for both function and app store distribution in iOS project.

    In macos project, app and library both run correctly on local machine, but failed in app store uploading, with error messages above.

Add a Comment