• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Target having unexpected problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Target having unexpected problem


  • Subject: Target having unexpected problem
  • From: email@hidden
  • Date: Mon, 16 Dec 2013 23:08:30 +1300

Hello.

I have a project with 2 targets : Mac and iOS.

Did mac work first. Beta release went fine.

Did iOS next. It went fine.

Went back to Mac and I get a weird error:

Lexical or Preprocessor issue

'CoreFoundation/CFUserNotification.h' file not found.
------------------------------------------
One of the full build transcripts:

ProcessPCH
/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Intermediates/PrecompiledHeaders/Traveller
Dice-Prefix-dpskdsmanxkbtjanxipsdodlqkcs/Traveller Dice-Prefix.pch.pch
Traveller Dice/Traveller Dice-Prefix.pch normal x86_64 objective-c
com.apple.compilers.llvm.clang.1_0.compiler

 cd "/Users/tridiak/Programming/TravellerProject/Traveller Dice"

 setenv LANG en_US.US-ASCII

/Applications/XC5/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-x objective-c-header -arch x86_64 -fmessage-length=0
-fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99
-fobjc-arc -Wno-trigraphs -fpascal-strings -O0
-Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type
-Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage
-Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak
-Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch
-Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable
-Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas
-Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion
-Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32
-Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DDEBUG=1 -isysroot
/Applications/XC5/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
-fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations
-mmacosx-version-min=10.8 -g -Wno-sign-conversion -iquote
/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Intermediates/Traveller
Dice.build/Debug/Traveller Dice.build/Traveller Die Roll
Maker-generated-files.hmap
-I/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Intermediates/Traveller
Dice.build/Debug/Traveller Dice.build/Traveller Die Roll
Maker-own-target-headers.hmap
-I/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Intermediates/Traveller
Dice.build/Debug/Traveller Dice.build/Traveller Die Roll
Maker-all-target-headers.hmap -iquote
/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Intermediates/Traveller
Dice.build/Debug/Traveller Dice.build/Traveller Die Roll
Maker-project-headers.hmap
-I/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Products/Debug/include
-I/Applications/XC5/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
-I/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Intermediates/Traveller
Dice.build/Debug/Traveller Dice.build/DerivedSources/x86_64
-I/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Intermediates/Traveller
Dice.build/Debug/Traveller Dice.build/DerivedSources
-F/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Products/Debug
-F/Applications/XC5/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks
--serialize-diagnostics
/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Intermediates/PrecompiledHeaders/Traveller
Dice-Prefix-dpskdsmanxkbtjanxipsdodlqkcs/Traveller Dice-Prefix.pch.dia -MMD
-MT dependencies -MF
/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Intermediates/PrecompiledHeaders/Traveller
Dice-Prefix-dpskdsmanxkbtjanxipsdodlqkcs/Traveller Dice-Prefix.pch.d -c
/Users/tridiak/Programming/TravellerProject/Traveller Dice/Traveller
Dice/Traveller Dice-Prefix.pch -o
/Users/tridiak/Library/Developer/Xcode/DerivedData/Traveller_Dice-eakgzsqdzjyqncevwrpvgypyuclx/Build/Intermediates/PrecompiledHeaders/Traveller
Dice-Prefix-dpskdsmanxkbtjanxipsdodlqkcs/Traveller Dice-Prefix.pch.pch

In file included from /Users/tridiak/Programming/TravellerProject/Traveller
Dice/Traveller Dice/Traveller Dice-Prefix.pch:8:

In file included from
/Applications/XC5/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12:


In file included from
/Applications/XC5/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:


/Applications/XC5/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:92:10:
fatal error: 'CoreFoundation/CFUserNotification.h' file not found

#include

 ^

1 error generated.

-----------------------------------
The thing I noticed is the iPhone SDK is somehow getting tossed into the build.
That shouldn't happen.
I have checked the build settings for the Target. There is no iOS settings that I can find. Any ideas or simpler to create a new target from scratch and add everything in?
Any file/directory I could delete?

TIA
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: Where to look for the replacement for a deprecated API?
  • Next by Date: Re: XCode 5.0.2 crashes constantly
  • Previous by thread: Re: Need help with 5.0.2
  • Next by thread: Re: Target having unexpected problem
  • Index(es):
    • Date
    • Thread