首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Xcode错误(Xcode):未定义符号:_APMUserDataFieldEmailAddress.颤振工程

Xcode错误(Xcode):未定义符号:_APMUserDataFieldEmailAddress.颤振工程
EN

Stack Overflow用户
提问于 2022-07-09 08:24:35
回答 3查看 906关注 0票数 1

每当我试图编译或生成一个IPA将其发送到App时,我都会得到这个错误。

代码语言:javascript
运行
复制
Failed to build iOS app
Error output from Xcode build:
↳
    2022-07-08 23:02:28.807 xcodebuild[15110:809520] [MT] DVTSDK:             Warning: SDK path collision for path '<DVTFilePath:0x6000023b9030:'/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk'>': SDK with name 'macosx13.0' being superseded by SDK with 'macosx13.0'.
2022-07-08 23:02:31.110 xcodebuild[15110:809520] warning:  The file reference for "GoogleAppMeasurement-xcframeworks.sh" is a member of multiple groups ("Support Files" and "Support Files"); this indicates a malformed project.  Only the membership in one of the groups will be preserved (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same path.
2022-07-08 23:02:31.110 xcodebuild[15110:809520] warning:  The file reference for "GoogleAppMeasurement.debug.xcconfig" is a member of multiple groups ("Support Files" and "Support Files"); this indicates a malformed project.  Only the membership in one of the groups will be preserved (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same path.
2022-07-08 23:02:31.110 xcodebuild[15110:809520] warning:  The file reference for "GoogleAppMeasurement.release.xcconfig" is a member of multiple groups ("Support Files" and "Support Files"); this indicates a malformed project.  Only the membership in one of the groups will be preserved (but membership in targets will be unaffected).  If you want a reference to the same file in more than one group, please add another reference to the same path.
2022-07-08 23:02:32.943 xcodebuild[15110:809671] nil host used in call to allowsSpecificHTTPSCertificateForHost
2022-07-08 23:02:32.943 xcodebuild[15110:809671] nil host used in call to allowsAnyHTTPSCertificateForHost:
** BUILD FAILED **


Xcode's output:
↳
    Writing result bundle at path:
    /var/folders/ll/gjdf4jj56nd5bvg06lknywl80000gn/T/flutter_tools.wqDSaC/flutter_ios_build_temp_dirM4nhPd/temporary_xcresult_bundle

/Users/chancilson/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.4/ios/Classes/strategies/PhonePermissionStrategy.m:50:35: warning: 'subscriberCellularProvider' is deprecated: first deprecated in iOS 12.0 [-Wdeprecated-declarations]
    CTCarrier *carrier = [netInfo subscriberCellularProvider];
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                  serviceSubscriberCellularProviders
In module 'CoreTelephony' imported from /Users/chancilson/flutter/.pub-cache/hosted/pub.dartlang.org/permission_handler_apple-9.0.4/ios/Classes/strategies/PhonePermissionStrategy.m:8:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.0.sdk/System/Library/Frameworks/CoreTelephony.framework/Headers/CTTelephonyNetworkInfo.h:114:50: note: property 'subscriberCellularProvider' is declared deprecated here
@property(readonly, retain, nullable) CTCarrier *subscriberCellularProvider API_DEPRECATED_WITH_REPLACEMENT("serviceSubscriberCellularProviders", ios(4.0, 12.0)) API_UNAVAILABLE(macos);
EN

回答 3

Stack Overflow用户

发布于 2022-07-09 08:29:50

看来您还没有在info.plist中包含权限

下面是指向包汉德的链接,并阅读安装指南,并包含所有必要的权限。

票数 0
EN

Stack Overflow用户

发布于 2022-07-28 04:26:07

我也有同样的错误,我注意到在执行flutter cleanflutter pub get、然后是flutter build ios之后,它在Pods.xcodeproj中删除了我的团队帐户“签名和功能”(如图中所示).我不知道为什么会发生这种情况,但我现在要做的是重新添加我的团队,然后直接添加到flutter build ios,然后它就能工作了。

票数 0
EN

Stack Overflow用户

发布于 2022-11-06 10:31:03

清除派生数据文件夹并重新生成。通常这是一个缓存问题。

代码语言:javascript
运行
复制
rm -rf ~/Library/Developer/Xcode/DerivedData
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72919978

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档