現象
$ xcodegen generate
を実行してprojectを作成。
その後、Schemeを Share Extension や Notification Service Extension を選択して実行すると、以下のようなエラーが発生して実行されなかった。
Unable to install “hogehoge Share Extension”
Domain: com.apple.platform.iphoneos
Code: -1
Recovery Suggestion: “hogehoge Share Extension” cannot be installed on {device name}. hogehoge Share Extension.appex is not an application bundle
原因
Schemeの設定を開き、Run > Info タブを開く。
Executableの項目に、Extension自信の.appexが設定されていた。


