Compilation error on prefix header with Xcode 5.0 - ios

I'm attempting to compile my project which compiled fine with the iOS 6 SDK & Xcode 4.x, however with Xcode 5 & iOS 7 SDK, I'm getting a prefix header error, below:
clang: error: no such file or directory:'/Users/.../IOS/Dependencies/RestKit/Code/Support/RestKit-Prefix.pch'
clang: error: no input files
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1
Everything seems to be fine, other than compiling a subproject, RestKit with the app.
I've tried cleaning the project, and the build folders but to no avail.

Related

Xcode archive failed with error exit code 1

when I'm trying to publish my React native application, I first try to build an app and it builds successfully. Then when product ยป archive I get the following error:
ld: 513 duplicate symbols for architecture arm64 clang:
error: linker command failed with exit code 1
(use -v to see invocation)
note: I'm using the .xcworkspace file
You probably have React Native included in your project file, and also installed a CocoaPod which includes React Native as a dependency, so you have 2 copies of React Native. Delete one.

Xcode build error after swift 4 migration

I have migrated my old working iOS project from Swift 2.3 to Swift 4, I am getting build failed with the error below:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
and the warning below:
missing required architecture x86_64 in file ISHPullUp.framework/ISHPullUp
Note that:
I have updated the project's carthage to the latest versions of frameworks.
the framework I'm using and mentioned is ISHPullUp
I am getting this warning and error only when building for iPhone simulator unlike using iPhone physical device.
Am I missing something?
thanks in advance

ld: unexpected token: !tapi-tbd-v2 file Xcode 7

I have develop an application using Xcode 7.3.1 but i have added Notification Service extension for iOS 10 by adding another target in Xcode 8. When i compile this app using Xcode 8 app compiles and runs but it ruin all AutoLayout constraints due to which i need to build this app from Xcode 7.
But when i compile this code from Xcode 7 it gives me this error.
ld: unexpected token: !tapi-tbd-v2 file
'/Users/temp/Desktop/tipple/TippleDoc iOS 10
Notification/UserNotifications.framework/UserNotifications.tbd' for
architecture arm64 clang: error: linker command failed with exit code
1 (use -v to see invocation)
I have remove Notification Service Extension and UserNotification Framework as well. Tried enabling and disabling BIT_CODE but it still prompt this error.

Build error after upgrading from Xcode 6 to Xcode 7

My project was successfully building and archiving when i used to Xcode 6.4. But, because of project specs, i upgrade my Xcode to 7.1. After upgrading, i got some build errors like:
clang: error: unknown argument: '-finalize' clang: error:
unknown argument: '-prefinalized-library' clang: error: unknown
argument: '-finalized-product'
These were the members of "Other Linker Flags" and i remove them from the list (only from Release List). I am not sure whether it is correct or not.
Then, i am able to build when Build Configuration of Scheme was Debug. But, if it Release, i can not build and gives that error:
clang: error: no such file or directory:
'.../Library/Developer/Xcode/DerivedData/sample-ftkjbpybhvbkdbfhuublkrbfuddf/Build/Intermediates/ArchiveIntermediates/sample/BuildProductsPath/Release-iphoneos//sample.app/sample'
I searched over internet and forums, and find nothing.
Thanks in advance & regards..
Go to XCODE ->preference ->location in that
change this tool option to XCode 7.0 ,may be it will give you the error.

Clang error after switching to XCode 5

After having updated to XCode 5 i am getting the follwoing error on compile in the CorePlot Library:
clang: error: -Z-reserved-lib-stdc++: 'linker' input unused Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
failed with exit code 1
I tried changing the build setting to match a working example project from the lib with no success..

Resources