Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing cache file warnings for the framework built in Xcode 7 #114

Open
jameswangz opened this issue Sep 24, 2015 · 2 comments
Open

Missing cache file warnings for the framework built in Xcode 7 #114

jameswangz opened this issue Sep 24, 2015 · 2 comments

Comments

@jameswangz
Copy link

Hi team,

I'm working on an iOS framework which follows this pattern, it worked well before Xcode 7, but recently after I upgraded to Xcode 7 to build the framework then used it in the test app there were lot of build warnings during the 'Generate dSYM' process, the warning messages are something like these:

while processing /Users/James/workspace/ios/APMMobile/ios/test/TestAppUtility/FoglightAPM.framework/FoglightAPM(FoglightOrderedDictionary.o):
warning: /var/folders/fv/y57n2j752q5042nmfdzk31dr00007h/C/org.llvm.clang.admin/ModuleCache/1CYUW6ZKHCRG0/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
while processing /Users/James/workspace/ios/APMMobile/ios/test/TestAppUtility/FoglightAPM.framework/FoglightAPM(FoglightOrderedDictionary.o):
warning: /var/folders/fv/y57n2j752q5042nmfdzk31dr00007h/C/org.llvm.clang.admin/ModuleCache/1CYUW6ZKHCRG0/Foundation-A3SOD99KJ0S9.pcm: No object file for requested architecture
while processing /Users/James/workspace/ios/APMMobile/ios/test/TestAppUtility/FoglightAPM.framework/FoglightAPM(FoglightOrderedDictionary.o):
warning: /var/folders/fv/y57n2j752q5042nmfdzk31dr00007h/C/org.llvm.clang.admin/ModuleCache/1CYUW6ZKHCRG0/ObjectiveC-2CD0WTQVXITO7.pcm: No such file or directory
while processing /Users/James/workspace/ios/APMMobile/ios/test/TestAppUtility/FoglightAPM.framework/FoglightAPM(FoglightOrderedDictionary.o):
warning: /var/folders/fv/y57n2j752q5042nmfdzk31dr00007h/C/org.llvm.clang.admin/ModuleCache/1CYUW6ZKHCRG0/ObjectiveC-2CD0WTQVXITO7.pcm: No object file for requested architecture
while processing /Users/James/workspace/ios/APMMobile/ios/test/TestAppUtility/FoglightAPM.framework/FoglightAPM(FoglightOrderedDictionary.o):
warning: Could not resolve external type c:objc(cs)NSMutableDictionary
while processing /Users/James/workspace/ios/APMMobile/ios/test/TestAppUtility/FoglightAPM.framework/FoglightAPM(FoglightOrderedDictionary.o):
warning: Could not resolve external type c:objc(cs)NSMutableDictionary
while processing /Users/James/workspace/ios/APMMobile/ios/test/TestAppUtility/FoglightAPM.framework/FoglightAPM(FoglightOrderedDictionary.o):
warning: Could not resolve external type c:objc(cs)NSMutableArray
...

it seems Xcode want to lookup some cache files on the build server but they can't be found, to reproduce this issue:

  1. Build the framework on one Mac then transfer it to another Mac which has the Test App(this is very important because the issue won't be appear if you build the framework on the same Mac).
  2. In the Build Settings of the test app, change the value of 'Debug Information Format' to 'DWARF with dSYM File' for the Debug configuration, then launch the app.

I'm wondering if any other people who also encountered it.

Thanks,
James

@gruffins
Copy link

gruffins commented Oct 8, 2015

I am also encountering this and looking for a solution.

@jameswangz
Copy link
Author

@gruffins zendesk/sunshine-conversations-ios#53 seems resolved this issue, but all of the debug symbols in the Framework will be stripped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants