5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ElixirDesktopのiOSアプリをAppleへ申請した時のエラー

Last updated at Posted at 2023-05-16

参考

困ったこと

Appleにアプリの申請を出したが、Validate Appしてみると下記のエラーが3件返ってくる

1.

Asset validation failed
Invalid Swift Support. The file xxxx-app.app/Frameworks/610-liberlang.a doesn’t have the correct file type for this location. Ensure you’re using the correct file, rebuild your app using the current public (GM) version of Xcode, and resubmit it. (ID: 2ec2b283-4b50-430b-968c-14f32a86989b)

2.

Asset validation failed
Invalid bundle structure. The “xxxx.app/Frameworks/610-liberlang.a” binary file is not permitted. Your app cannot contain standalone executables or libraries, other than a valid CFBundleExecutable of supported bundles. For details, visit: https://developer.apple.com/documentation/bundleresources/placing_content_in_a_bundle (ID: 3faf77bf-630a-4d5b-a1a8-988552acc7b3)

原因

前提 : xcodeでiOSの開発はしたことがない。(KotlinでAndroidはあった)

ios-example-appをxcodeで読み込むだけだとxcodeのProjectツリーにFrameworksがなかった

対応

Projectのpropertiesの「Frameworks, Libraries, and Embedded Content」に適当なLib
を追加してFrameworksqをツリーに作成。追加したのは速攻削除。

ツリーの上の方にある「liberlang.xcframework」と「ZIPFoundation.xcframework」をFeameworksにドラックで移動する
elixirdesktop_ios20230516144311.png

Projectのpropertiesの「Frameworks, Libraries, and Embedded Content」のliberlang.xcframeworkのEmbedを「Do not Embed」に変更する

一旦上記で動いている。

5
2
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?