¦Hi everyone, I bought my Mac Mini M1 this weekend, after set up everything that I need (accessibility features), I have started my iOS development journey. I have some experience coding to Android. I enrolled to Apple Developer. I am trying to run the app I am developing in my physical device. I is running well in the simulator, but when I try to run it on my iPhone XS Max (iOS 15.5), nut without any sucess. I set up a team for my project and everything that I read in the documentation. I created a new app project, I signed in with my Apple ID (developer) and I tried to run the "Hello World" in my physical device. I received the same error message bellow. It runs well in simulator. x_x
Please, could someone help me with this issue? More details: Mac Mini M1 running MacOS 12.5.1 and Xcode 13.4.1.
CodeSign /Users/blindzilla/Library/Developer/Xcode/DerivedData/AppCounter-cegbopkmxszduvdhuekwzhfzbqud/Build/Products/Debug-iphoneos/AppCounter.app (in target 'AppCounter' from project 'AppCounter') cd /Users/blindzilla/Development/projects/iOS/AppCounter export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "Apple Development: blindzilla@gmail.com (XXXXXXXXXX)"
Provisioning Profile: "iOS Team Provisioning Profile: *"
(xxxxxxxx-XXXX-xxxx-XXXX-XxXxXxXxXxXx)
/usr/bin/codesign --force --sign XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --entitlements /Users/blindzilla/Library/Developer/Xcode/DerivedData/AppCounter-cegbopkmxszduvdhuekwzhfzbqud/Build/Intermediates.noindex/AppCounter.build/Debug-iphoneos/AppCounter.build/AppCounter.app.xcent --timestamp\=none --generate-entitlement-der /Users/blindzilla/Library/Developer/Xcode/DerivedData/AppCounter-cegbopkmxszduvdhuekwzhfzbqud/Build/Products/Debug-iphoneos/AppCounter.app
/Users/blindzilla/Library/Developer/Xcode/DerivedData/AppCounter-xxxxxxxxxxxxxxxxxxxxxxxxx/Build/Products/Debug-iphoneos/AppCounter.app: errSecInternalComponent Command CodeSign failed with a nonzero exit code