Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
580 views
in Technique[技术] by (71.8m points)

xcode - XCodeBuild Error building Flutter - iOS App. "Missing Target"

I have a Flutter project. I want to build the project for iOS devices using Azure DevOps pipelines.

I have the basic configuration showed in this guide: https://docs.microsoft.com/en-us/azure/devops/pipelines/ecosystems/xcode?view=azure-devops

But, I obtain this error:

xcodebuild[908:5053] unable to create build operation: Error Domain= com.apple.xcbuild Code=1 "unknown error while handling message: missingTarget(guid: "a40ea2..........b3beb2e9f90bde3f49")"

UserInfo={NSLocalizedDescription=unknown error while handling message: missingTarget(guid: "a40ea2d289f72f0.........8b0b3beb2e9f90bde3f49")}

Any idea??

Thanks,

question from:https://stackoverflow.com/questions/65859616/xcodebuild-error-building-flutter-ios-app-missing-target

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I think what happens, since it also appeared to me once. Do you have any connections with UIs? If yes, then check all your outlets that your UIs have in the "Show the Connectors inspector". Maybe you tried to change the name of a connection, and just erase the connection in code. If you see that your connections have this dot full:

Outlets with the dot full.

If the dot is not fill. You have to quit that outlet.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...