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

Carthage build failed with Xcode 8.1 #4

Closed
aalenliang opened this issue Nov 11, 2016 · 1 comment
Closed

Carthage build failed with Xcode 8.1 #4

aalenliang opened this issue Nov 11, 2016 · 1 comment

Comments

@aalenliang
Copy link

Build with Xcode 8.1, Swift 3.1, failed with:
'error: 'objc_unretainedPointer' is unavailable: use a __bridge cast instead'

Maybe related to Cocoanetics/DTFoundation#107

Here is the full output:

*** Building scheme "Kvitto" in Kvitto.xcodeproj
** CLEAN FAILED **

The following build commands failed:
Check dependencies
(1 failure)
** BUILD FAILED **

The following build commands failed:
CompileC ../Library/Developer/Xcode/DerivedData/Kvitto-fwlzvoaknmfsvueudpxmjrwsyrzz/Build/Intermediates/DTFoundation.build/Release-iphoneos/DTFoundation\ (iOS).build/Objects-normal/armv7/NSObject+DTRuntime.o Core/Source/Runtime/NSObject+DTRuntime.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
../Carthage/Checkouts/Kvitto/Externals/DTFoundation/Core/Source/Runtime/NSObject+DTRuntime.m:51:38: error: 'objc_unretainedPointer' is unavailable: use a __bridge cast instead
A shell task (/usr/bin/xcrun xcodebuild -project ../Carthage/Checkouts/Kvitto/Kvitto.xcodeproj -scheme Kvitto -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** CLEAN FAILED **

The following build commands failed:
Check dependencies
(1 failure)
** BUILD FAILED **

The following build commands failed:
CompileC ../Developer/Xcode/DerivedData/Kvitto-fwlzvoaknmfsvueudpxmjrwsyrzz/Build/Intermediates/DTFoundation.build/Release-iphoneos/DTFoundation\ (iOS).build/Objects-normal/armv7/NSObject+DTRuntime.o Core/Source/Runtime/NSObject+DTRuntime.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

@aalenliang aalenliang changed the title Carthage build failed Carthage build failed with Xcode 8.1 Nov 11, 2016
@odrobnik
Copy link
Collaborator

This has been fixed in recent DTFoundation releases.

This issue was closed.
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