Q&A
SwiftUIでアプリを作成しています。それが原因かどうかは分かりませんが、HealthKitを使うためにこちらを参考に設定後、突然以下のようなエラーが出て実機でのテストができなくなってしまいました。
error: Entitlements file "(アプリ名).entitlements" was modified during the build, which is not supported. You can disable this error by setting 'CODE_SIGN_ALLOW_ENTITLEMENTS_MODIFICATION' to 'YES', however this may cause the built product's code signature or provisioning profile to contain incorrect entitlements. (in target '(アプリ名)' from project ('アプリ名)')
開発者登録はしていませんが、さっきまで実機テストができていたので何をどうすればいいでしょうか?
回答1件
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。