HomeiOS Developmentios - Flutter construct fails when operating flutter from distant machine

ios – Flutter construct fails when operating flutter from distant machine


I am at the moment organising my dev setting for growing 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 making an attempt 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 the moment am in a position to construct the app on my mac and it begins on my iphone when i construct instantly from my mac, however once I run the very same script by means 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/tasks/myapp/construct/ios/Debug-iphoneos/Runner.app/Runner.debug.dylib (in goal 'Runner' from venture 'Runner')
               cd /Customers/me/tasks/myapp/ios

               Signing Identification:     "Apple Improvement: Me and Myself (A7656WTX4N)"
               Provisioning Profile: "iOS Staff Provisioning Profile: *"
                                     (4647d7e2-7941-45d0-a979-74d3b34f531c)

               /usr/bin/codesign --force --sign 211CD423578576BD70699D85C6340647A7BC686D --timestamp=none --generate-entitlement-der /Customers/me/tasks/myapp/construct/ios/Debug-iphoneos/Runner.app/Runner.debug.dylib
           /Customers/me/tasks/myapp/construct/ios/Debug-iphoneos/Runner.app/Runner.debug.dylib: errSecInternalComponent
           Command CodeSign failed with a nonzero exit code


           Outcome 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/tasks/myapp/construct/ios/Debug-iphoneos/Runner.app/Runner.debug.dylib (in goal 'Runner' from venture 'Runner')
                Constructing workspace Runner with scheme Runner and configuration Debug
           (2 failures)
[   +7 ms] Operating Xcode construct... (accomplished in 6,7s)
[        ] Xcode construct completed.                                            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

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments