我正在尝试在flutter
上为我的Xcode
应用构建Command PhaseScriptExecution failed with a nonzero exit code
,但我不知道为什么我一直收到此错误。
simulator
我使用manual migration guildlines迁移了Xcode 11.4版本的项目。尽管我的项目在.ipa
上运行良好,但是我无法构建/Users/apple/Library/Developer/Xcode/DerivedData/Runner-acigcqmznpynacbcdnfflfigyoxx/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/Kashbase .app/Frameworks/Flutter.framework/Flutter: errSecInternalComponent
Non-fat binary /Users/apple/Library/Developer/Xcode/DerivedData/Runner-acigcqmznpynacbcdnfflfigyoxx/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications//Kashbase .app/Frameworks/App.framework/App is not armv7. Running lipo -info:
Non-fat file: /Users/apple/Library/Developer/Xcode/DerivedData/Runner-acigcqmznpynacbcdnfflfigyoxx/Build/Intermediates.noindex/ArchiveIntermediates/Runner/InstallationBuildProductsLocation/Applications//Kashbase .app/Frameworks/App.framework/App is architecture: x86_64
Command /bin/sh failed with exit code 1
存档文件。
日志
import math
def distance (x,y):
value= math.sqrt ((x[0]-y[0])**2 + (x[1] - y[1])**2)
print (value)
distance((0,0), (1,1))