Replace:
I attempted to explicitly permit the script entry to the keychain. I additionally briefly tried to provide entry to all customers. Each did not change something
I am at present establishing my dev atmosphere for creating an app with flutter. I attempted to set it up in order that i can develop(code) on home windows whereas testing the app on IOS. The movement I am attempting to get working is as follows:
- code on home windows
- git commit -> git push
- `ssh me@my-mac ‘run_flutter.sh’
- app builds on my mac and begins on my iphone
I at present am capable of construct the app on my mac and it begins on my iphone when i construct straight from my mac, however once I run the very same script by way of ssh from my home windows machine, the construct fails at signing it appears.
When i run the construct with verbose, this will get outputted:
CodeSign /Customers/me/initiatives/myapp/construct/ios/Debug-iphoneos/Runner.app/Runner.debug.dylib (in goal 'Runner' from undertaking 'Runner')
cd /Customers/me/initiatives/myapp/ios
Signing Identification: "Apple Growth: Me and Myself (A7656WTX4N)"
Provisioning Profile: "iOS Crew Provisioning Profile: *"
(4647d7e2-7941-45d0-a979-74d3b34f531c)
/usr/bin/codesign --force --sign 211CD423578576BD70699D85C6340647A7BC686D --timestamp=none --generate-entitlement-der /Customers/me/initiatives/myapp/construct/ios/Debug-iphoneos/Runner.app/Runner.debug.dylib
/Customers/me/initiatives/myapp/construct/ios/Debug-iphoneos/Runner.app/Runner.debug.dylib: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
End result bundle written to path:
/var/folders/ld/zczp5nks4sv8yffcmxs4thf80000gn/T/flutter_tools.amI6MP/flutter_ios_build_temp_dirNWMU5p/temporary_xcresult_bundle
** BUILD FAILED **
The next construct instructions failed:
CodeSign /Customers/me/initiatives/myapp/construct/ios/Debug-iphoneos/Runner.app/Runner.debug.dylib (in goal 'Runner' from undertaking 'Runner')
Constructing workspace Runner with scheme Runner and configuration Debug
(2 failures)
[ +7 ms] Operating Xcode construct... (accomplished in 6,7s)
[ ] Xcode construct carried out. 6,7s
[ +2 ms] executing: /usr/bin/arch -arm64e xcrun xcresulttool get --legacy --path /var/folders/ld/zczp5nks4sv8yffcmxs4thf80000gn/T/flutter_tools.amI6MP/flutter_ios_build_temp_dirNWMU5p/temporary_xcresult_bundle --format json