gpt4 book ai didi

iphone - 重命名的项目将无法运行

转载 作者:行者123 更新时间:2023-12-03 16:55:21 28 4
gpt4 key购买 nike

最近,我们采用了一个项目并将其重命名,并将类名称更改为通用名称,以用作将来应用程序的模板。现在的问题是,该项目已被重命名,它将不再运行。我们不断收到如下错误。任何帮助将是巨大的!谢谢!

Ld "/Users/mejim707/Library/Developer/Xcode/DerivedData/AppTemplate_HD-enipxoysstcfkqevpmxrhtkwglhy/Build/Products/Debug-iphonesimulator/AppTemplate HD.app/AppTemplate HD" normal i386
cd "/Users/mejim707/Desktop/untitled folder/AppTemplate HD"
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -L/Users/mejim707/Library/Developer/Xcode/DerivedData/AppTemplate_HD-enipxoysstcfkqevpmxrhtkwglhy/Build/Products/Debug-iphonesimulator -F/Users/mejim707/Library/Developer/Xcode/DerivedData/AppTemplate_HD-enipxoysstcfkqevpmxrhtkwglhy/Build/Products/Debug-iphonesimulator -filelist "/Users/mejim707/Library/Developer/Xcode/DerivedData/AppTemplate_HD-enipxoysstcfkqevpmxrhtkwglhy/Build/Intermediates/AppTemplate HD.build/Debug-iphonesimulator/AppTemplate HD.build/Objects-normal/i386/AppTemplate HD.LinkFileList" -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -D__IPHONE_OS_VERSION_MIN_REQUIRED=30200 -Xlinker -no_implicit_dylibs -lz.1.2.5 -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -framework AVFoundation -framework StoreKit -o "/Users/mejim707/Library/Developer/Xcode/DerivedData/AppTemplate_HD-enipxoysstcfkqevpmxrhtkwglhy/Build/Products/Debug-iphonesimulator/AppTemplate HD.app/AppTemplate HD"

Undefined symbols for architecture i386:
"_OBJC_CLASS_$_AppTemplateViewController", referenced from:
objc-class-ref in AppTemplateAppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

检查您的构建阶段,然后编译源代码,以查看是否还有不被调用的类。当我更改类名或删除类时,总是会收到该错误。

关于iphone - 重命名的项目将无法运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10950994/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com