Failed to sign framework error

Hi. I am a teacher who is new to app inventor. I have a project that successfully builds in MIT App Inventor. I can successfully build the Android App (.apk) but cannot get the iOS build to work. I have a valid certificate and provisioning file now.

Any thoughts?

App Inventor is unable to compile this project.
The compiler error output was
[ReadBuildInfo] Starting Task
[ReadBuildInfo] Task succeeded in 0.001 seconds
[LoadComponentInfo] Starting Task
[LoadComponentInfo] INFO: Generating activities...
[LoadComponentInfo] Component activities needed, n = 1
[LoadComponentInfo] INFO: Generating activity metadata...
[LoadComponentInfo] Component activity metadata needed, n = 0
[LoadComponentInfo] INFO: Generating assets...
[LoadComponentInfo] Component assets needed, n = 0
[LoadComponentInfo] INFO: Generating broadcast receivers...
[LoadComponentInfo] INFO: Generating content providers...
[LoadComponentInfo] INFO: Generating libraries...
[LoadComponentInfo] Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating metadata...
[LoadComponentInfo] Component metadata needed, n = 0
[LoadComponentInfo] INFO: Generating Android minimum SDK...
[LoadComponentInfo] INFO: Generating native libraries...
[LoadComponentInfo] Native Libraries needed, n = 0
[LoadComponentInfo] INFO: Generating permissions...
[LoadComponentInfo] usesLocation = False
[LoadComponentInfo] Permissions needed, n = 5
[LoadComponentInfo] INFO: Generating queries...
[LoadComponentInfo] INFO: Generating services...
[LoadComponentInfo] INFO: Generating component broadcast receivers...
[LoadComponentInfo] Task succeeded in 0.014 seconds
[ExtractPlayerApp] Starting Task
[ExtractPlayerApp] Task succeeded in 0.355 seconds
[ExtractProvisioningPlist] Starting Task
[ExtractProvisioningPlist] Task succeeded in 0.002 seconds
WARN: Task PrepareAppIcon does not contain build type targets!
[PrepareAppIcon] Starting Task
[PrepareAppIcon] INFO: Creating app asset dirs...
[PrepareAppIcon] INFO: Generating icons...
[PrepareAppIcon] INFO: Compiling icon asset set...
/* com.apple.actool.document.notices /
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/assets/Assets.xcassets:./AppIcon.appiconset/[][ipad][76x76][][][1x][][][]: notice: 76x76@1x app icons only apply to iPad apps targeting releases of iOS prior to 10.0.
/
com.apple.actool.compilation-results */
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon20x20@2x.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon20x20@2x~ipad.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon20x20@3x.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon20x20~ipad.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon29x29@2x.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon29x29@2x~ipad.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon29x29@3x.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon29x29~ipad.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon40x40@2x.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon40x40@2x~ipad.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon40x40@3x.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon40x40~ipad.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon60x60@2x.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon60x60@3x.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon76x76@2x~ipad.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon76x76~ipad.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/AppIcon83.5x83.5@2x~ipad.png
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/Payload/PlayerApp.app/Assets.car
/var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/build/tmp/assetcatalog_generated_info.plist

[PrepareAppIcon] Task succeeded in 2.385 seconds
[CreateEntitlements] Starting Task
[CreateEntitlements] Task succeeded in 0.0 seconds
[CreateInfoPlist] Starting Task
[CreateInfoPlist] Task succeeded in 0.001 seconds
[BundleAIA] Starting Task
[BundleAIA] Task succeeded in 0.027 seconds
[LinkLibraries] Starting Task
[LinkLibraries] Task succeeded in 0.0 seconds
[SignPackage] Starting Task
[SignPackage] ERROR: Failed to sign framework /var/folders/6w/3g25w8q57yqcryxw0y846czh0000gt/T/1670691234483_0.8185698345536639-0/youngandroidproject/../build/Payload/PlayerApp.app/Frameworks/PSSRedisClient.framework
[SignPackage] Task errored in 0.263 seconds

Unless you are a part of the beta testing group, you cannot currently build apps with ios

Hmm - if that's an iOS build what is that line doing in it?

Thanks for replying. I would love to be part of the beta testing group. How does one go about doing that?

Not sure how or why that is in there. Any thought about that?

App Inventor defines all of its build information about components in a file called simple_component_build_infos.json (extensions also define a component_build_infos.json). When the build server starts a build, it loads the component information, which because the iOS Buildserver actually can build both types also involves reading the min SDK information, even though in the iOS scenario it won't be consumed. Effectively, there are a bunch of common operations and then a fork occurs based on the type of build requested (APK, AAB, or IPA). We could probably refactor this further but since the file is already in memory by that point the overhead is less than 1 ms so shouldn't have a significant impact on the build itself.

2 Likes