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

Xcode 10 issue for Nimble while update carthage #608

Closed
1 task done
balichowdry opened this issue Sep 20, 2018 · 12 comments
Closed
1 task done

Xcode 10 issue for Nimble while update carthage #608

balichowdry opened this issue Sep 20, 2018 · 12 comments

Comments

@balichowdry
Copy link

balichowdry commented Sep 20, 2018

  • I have read CONTRIBUTING and have done my best to follow them.

What did you do?

Hi

I am using Xcode10
Carthage 0.29.0
Swift version 4.2
Nimble "v7.0.3"

when I update Carthage I get this error, can you please help me I am not sure is Carthage issue with latest Xcode or Nimble issue

Carthage/Checkouts/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

What did you expect to happen?

I am expecting it work same as Xcode9.3

What actually happened instead?

Carthage/Checkouts/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

Environment

  • Quick: v1.1.0
  • Nimble: v7.0.3
  • Xcode Version: 10.0 (Open Xcode; In menubar: Xcode > About Xcode)
  • Swift Version: 4.2 (Open Xcode Preferences; Components > Toolchains. If none, use Xcode Default.)

Please also mention which package manager you used and its version. Delete the
other package managers in this list:

  • Cocoapods: 1.5.3
  • Carthage: 0.29.0
  • Swift Package Manager Swift 4.2.0 (swiftpm-14248)
@balichowdry balichowdry changed the title Xcode 10 issue while update carthage Xcode 10 issue for Nimble while update carthage Sep 20, 2018
@ikesyo
Copy link
Member

ikesyo commented Sep 20, 2018

Please update to the latest version (7.3.0) and it should work.

@balichowdry
Copy link
Author

I have updated to 7.3.0 still the same issue :(

@ikesyo
Copy link
Member

ikesyo commented Sep 21, 2018

Could you please paste the actual error log?

Carthage/Checkouts/Nimble/Sources/NimbleObjectiveC/NMBExceptionCapture.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

is insufficient.

@ragaisis
Copy link

ragaisis commented Sep 24, 2018

I have problems too. Can't build using carthage 0.29, Swift 4.2, xCode 10, Nimble v7.3.1

Build Failed
	Task failed with exit code 65:
	/usr/bin/xcrun xcodebuild -project /Users/jonas/Projects/ios/ios-myapp/Carthage/Checkouts/Nimble/Nimble.xcodeproj -scheme Nimble-iOS -configuration Release -derivedDataPath /Users/jonas/Library/Caches/org.carthage.CarthageKit/DerivedData/10.0_10A255/Nimble/v7.3.1 -sdk iphonesimulator -destination platform=iOS\ Simulator,id=AED494DB-1977-40E2-B9A3-A13440ED6E8A -destination-timeout 3 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES build (launched in /Users/jonas/Projects/ios/ios-myapp/Carthage/Checkouts/Nimble)

This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/wz/r9m4vxx11hs45gqcxblmx54c0000gq/T/carthage-xcodebuild.DIaEpR.log

@ikesyo
Copy link
Member

ikesyo commented Sep 24, 2018

That is just an carthage output, please check the actual xcodebuild log in /var/folders/wz/r9m4vxx11hs45gqcxblmx54c0000gq/T/carthage-xcodebuild.DIaEpR.log.

@ragaisis
Copy link

ragaisis commented Sep 24, 2018

carthage-xcodebuild.DIaEpR.log

I think this part is most important and causing the error, but I don't know how to fix it

error: Cycle inside Nimble-iOS; building could produce unreliable results.
Cycle details:
→ Target 'Nimble-iOS': CodeSign /Users/jonas/Library/Caches/org.carthage.CarthageKit/DerivedData/10.0_10A255/Nimble/v7.3.1/Build/Products/Release-iphonesimulator/Nimble.framework
○ Target 'Nimble-iOS' has a command with output '/Users/jonas/Library/Caches/org.carthage.CarthageKit/DerivedData/10.0_10A255/Nimble/v7.3.1/Build/Products/Release-iphonesimulator/Nimble.framework/Nimble'
○ Target 'Nimble-iOS' has link command with output '/Users/jonas/Library/Caches/org.carthage.CarthageKit/DerivedData/10.0_10A255/Nimble/v7.3.1/Build/Intermediates.noindex/Nimble.build/Release-iphonesimulator/Nimble-iOS.build/Objects-normal/x86_64/Nimble'
○ Target 'Nimble-iOS' has a command with output '/Users/jonas/Library/Caches/org.carthage.CarthageKit/DerivedData/10.0_10A255/Nimble/v7.3.1/Build/Products/Release-iphonesimulator/Nimble.framework/Nimble'

** BUILD FAILED **

@ragaisis
Copy link

ragaisis commented Sep 24, 2018

I've found out that updating carthage by using "master" solves the problem

Carthage file

github "Quick/Quick" "master"
github "Quick/Nimble" "master"

when i run carthage update --platform ios i see

*** Checking out Nimble at "a14526900f79402de46779ba4e6929112b6a34d5"
*** Checking out Quick at "044ea18d202369e33e1fc1849498a7824b89f1c4"

And it builds successfully.

But pointing to master is not the best practise, so could you release new version that is currently in master

@ikesyo
Copy link
Member

ikesyo commented Sep 24, 2018

The fix for that is #605 (which is in master) and the same fix is already applied to 7.3.1 (#606). You may be hitting a build cache issue, so it may be good to remove DerivedData folder (/Users/jonas/Library/Caches/org.carthage.CarthageKit/DerivedData/10.0_10A255/Nimble/v7.3.1).

@ikesyo
Copy link
Member

ikesyo commented Sep 24, 2018

And also current master is heading to Nimble v8 which has some breaking changes but we are not ready to release the new major version yet.

@ikesyo ikesyo closed this as completed Oct 22, 2018
@doancea
Copy link

doancea commented Apr 24, 2019

I've been experiencing this issue in 8.0.1, swift version 4.2, Carthage 0.33 For the last few weeks. clearing the Carthage cache fixes this for a build or 2 and then it starts failing again. Has anyone else seen this as an issue?

@spesic
Copy link

spesic commented May 28, 2019

@doancea Yes, we've been seeing the same with v8.0.1, xc 10.2.1_10E1001 and Carthage 0.33.0

@spesic
Copy link

spesic commented Jun 13, 2019

This issue seems related: #614

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

5 participants