specta / expecta

A Matcher Framework for Objective-C/Cocoa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiler warnings on iOS9 / XCode 7

yakovsh opened this issue · comments

Getting the following warnings when using Expecta in an application:

yakovsh/Downloads/expecta-1.0.3/build/ModuleCache/CE2FWWMRWA3O/Foundation-A3SOD99KJ0S9.pcm: No object file for requested architecture
while processing lib/ios/Expecta.framework/Expecta(EXPMatchers+beFalsy.o):
warning: /Users/yakovsh/Downloads/expecta-1.0.3/build/ModuleCache/CE2FWWMRWA3O/ObjectiveC-2CD0WTQVXITO7.pcm: No such file or directory
while processing lib/ios/Expecta.framework/Expecta(EXPMatchers+beFalsy.o):

warning: /Users/yakovsh/Downloads/expecta-1.0.3/build/ModuleCache/CE2FWWMRWA3O/ObjectiveC-2CD0WTQVXITO7.pcm: No object file for requested architecture
while processing lib/ios/Expecta.framework/Expecta(EXPMatchers+beFalsy.o):

warning: Could not resolve external type c:objc(cs)NSString
while processing lib/ios/Expecta.framework/Expecta(EXPMatchers+beFalsy.o):

Supposedly this is a bug with Xcode: https://forums.developer.apple.com/thread/17921

The only workaround that worked for me was the one described here:

CocoaPods/cocoapods-packager#101

It entails turning off debugging:

GCC_GENERATE_DEBUGGING_SYMBOLS = NO;

This was merged.