DerivedData/xxx-fxhqtzymbwegttddoznsqpakmlvp/Build/Products/Debug-iphonesimulator/xxx.app/xxx

运行程序报错

ld: file not found: ~/Library/Developer/Xcode/DerivedData/xxx-fxhqtzymbwegttddoznsqpakmlvp/Build/Products/Debug-iphonesimulator/xxx.app/xxx

clang: error: linker command failed with exit code 1 (use -v to see invocation)

clean 项目后  删除DerivedData后 重启Xcode不起作用

2种解决办法

1)左击工程文件:

选择Edit Scheme

把红色圈住的去掉就ok了

2)Proj->BuildingSetting-搜应用名 ->Product Name更改为和 Executable file一致(proj->info->Executable file)

时间: 2024-10-29 03:59:23

DerivedData/xxx-fxhqtzymbwegttddoznsqpakmlvp/Build/Products/Debug-iphonesimulator/xxx.app/xxx的相关文章

Showing All Messages : error: open /Users/apple/Library/Developer/Xcode/DerivedData/PDoctor-dkhmpttmnuppvbcxijlcxacfpzcl/Build/Products/Debug-iphoneos/PDoctor.app/EaseUIResource.bundle/[email protected]: N

2报错 Showing All Messages : error: open /Users/apple/Library/Developer/Xcode/DerivedData/xxx-dkhmpttmnuppvbcxijlcxacfpzcl/Build/Products/Debug-iphoneos/xxx.app/EaseUIResource.bundle/[email protected]: No such file or directory 解决: 把文件夹这里边删除掉   /Users/

file not found: /Users/hx/Library/Developer/Xcode/DerivedData/Build/Products/...

由于一个工程里有两个target,暂且称为target A和target B 吧!在更改了工程名后,在模拟器中运行时就报以下错误: ld: file not found: /Users/hx/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/YQ_HX.app/YQ_HX clang: error: linker command failed with exit code 1 (use -v to s

sql数据库删除表的外键约束(INSERT 语句与 FOREIGN KEY 约束"XXX"冲突。该冲突发生于数据库"XXX",表"XXX", column 'XXX)

使用如下SQL语句查询出表中外键约束名称: 1 select name 2 from sys.foreign_key_columns f join sys.objects o on f.constraint_object_id=o.object_id 3 where f.parent_object_id=object_id('表名') 执行如下SQL语句删除即可. 1 alter table 表名 drop constraint 外键约束名 sql数据库删除表的外键约束(INSERT 语句与 F

file not found: /Users/iOS/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/a.app/a

打开项目文件夹内->显示.xcodeproj包内容->打开project.pbxproj文件->修改TEST_HOST = "$(BUILT_PRODUCTS_DIR)/旧名字.app/旧名字" 为 TEST_HOST = "$(BUILT_PRODUCTS_DIR)/新名字.app/新名字"  关闭保存文件,打开项目clean 一下重新run一下就解决了

java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/xxx/lib/arm/liblame.so: has text relocations

最近在写本地录音转码过程中引入了liblame.so,我这边用了不同系统版本的手机测试本地录音都没有出现问题,但是有一天,同事在测试的时候,出现了以下错误: 09-13 17:32:29.140 26874-27362/com.axxn.xx E/linker: /data/app/com.axxn.xx-2/lib/arm/liblame.so: has text relocations 09-13 17:32:29.192 26874-27362/com.axxn.xx E/AndroidR

linker command failed with exit code 1 (use -v to see invocation) xxx.app/xxx file not found test

出现linker command failed with exit code 1 (use -v to see invocation)这个错误,app下app名的文件夹file not found,而且还跟test有关. 解决放,选择工程,在targets下面选择xxxtests,看到它的general里有一个testing,testing下有个host application,选择它的下拉框,选中里面的自己的app就ok了.

关于类xxx.java是公共的,应在xxx.java文件中声明。

一旦用public来修饰一个类名,那么那个类所存在的文件的名字就必须和那个类的名字相同.所以不能打错类名啊!!!

[Debug] Use Remote Sources to Debug a Web App on an Emulator, Simulator, or Physical Device

We can emulate different operating systems, browsers, and devices within a desktop operating system. We’re going to discuss iOS and Android options we have available to us, and how to debug on those devices. More than often we want to test what we ha

ios开发笔记-7-bug解决

bug解决: 1. (null): Couldn't codesign /Users/ios/Library/Developer/Xcode/DerivedData/hyq2.0-ghkupheqogsvdpeqhaprewzzqhfb/Build/Products/Debug-iphoneos/hyq2.0.app/Frameworks/libswiftCore.dylib: codesign failed with exit code 1 解决办法:http://www.raywenderl