Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Facing issues while installing this framework as carthage. #166

Open
v2Nitesh opened this issue Oct 17, 2017 · 4 comments
Open

Facing issues while installing this framework as carthage. #166

v2Nitesh opened this issue Oct 17, 2017 · 4 comments

Comments

@v2Nitesh
Copy link

Hi @atainter @DavidSchechter ,

I was trying to install this framework as carthage but facing below issue.

Logs :

~/Documents/v2Apps/Examples/V2POCNMessenger $ carthage update --platform iOS
*** Cloning NMessenger
*** Cloning AsyncDisplayKit
*** Cloning PINRemoteImage
*** Cloning PINCache
*** Cloning PINOperation
*** Checking out PINOperation at "1.1"
*** Downloading PINCache.framework binary at "3.0.1-beta.6"
*** Downloading PINRemoteImage.framework binary at "Beta 3"
*** Checking out AsyncDisplayKit at "1.9.92"
*** Checking out NMessenger at "1.0.80"
*** xcodebuild output can be found in /var/folders/lq/kk_7ry4n6qj4m9rh5b67rw9c0000gn/T/carthage-xcodebuild.RB4OVK.log
*** Building scheme "PINOperation" in PINOperation.xcodeproj
*** Building scheme "AsyncDisplayKit-iOS" in AsyncDisplayKit.xcworkspace
BUILD FAILED

The following build commands failed:
CompileC /Users/nitesh.meshram/Library/Developer/Xcode/DerivedData/AsyncDisplayKit-fsyuomdewrpgpdfskxaelkpjujwn/Build/Intermediates/AsyncDisplayKit.build/Release-iphoneos/AsyncDisplayKit-iOS.build/Objects-normal/armv7/ASDefaultPlayButton.o AsyncDisplayKit/Private/ASDefaultPlayButton.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
/Users/nitesh.meshram/Documents/v2Apps/Examples/V2POCNMessenger/Carthage/Checkouts/AsyncDisplayKit/AsyncDisplayKit/module.modulemap:1:18: error: redefinition of module 'AsyncDisplayKit'
/Users/nitesh.meshram/Documents/v2Apps/Examples/V2POCNMessenger/Carthage/Checkouts/AsyncDisplayKit/AsyncDisplayKit/module.modulemap:1:18: error: redefinition of module 'AsyncDisplayKit'
/Users/nitesh.meshram/Documents/v2Apps/Examples/V2POCNMessenger/Carthage/Checkouts/AsyncDisplayKit/AsyncDisplayKit/module.modulemap:1:18: error: redefinition of module 'AsyncDisplayKit'
A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/nitesh.meshram/Documents/v2Apps/Examples/V2POCNMessenger/Carthage/Checkouts/AsyncDisplayKit/AsyncDisplayKit.xcworkspace -scheme AsyncDisplayKit-iOS -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:
BUILD FAILED

The following build commands failed:
CompileC /Users/nitesh.meshram/Library/Developer/Xcode/DerivedData/AsyncDisplayKit-fsyuomdewrpgpdfskxaelkpjujwn/Build/Intermediates/AsyncDisplayKit.build/Release-iphoneos/AsyncDisplayKit-iOS.build/Objects-normal/armv7/ASDefaultPlayButton.o AsyncDisplayKit/Private/ASDefaultPlayButton.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

Can you please give me some workaround or please add carthage support for this.

Thank you
Nitesh

@faisalmemon
Copy link

I get a slightly different error:

*** Building scheme "AsyncDisplayKit-iOS" in AsyncDisplayKit.xcworkspace
** BUILD FAILED **


The following build commands failed:
	CompileC /Users/faisalm/Library/Developer/Xcode/DerivedData/AsyncDisplayKit-ejbxwlhbnarvxxgbatxhctlugrfy/Build/Intermediates.noindex/AsyncDisplayKit.build/Release-iphoneos/AsyncDisplayKit-iOS.build/Objects-normal/armv7/ASLayoutManager.o AsyncDisplayKit/TextKit/ASLayoutManager.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
/Users/faisalm/dev/scratch/nmessenger/Carthage/Checkouts/AsyncDisplayKit/AsyncDisplayKit/module.modulemap:1:18: error: redefinition of module 'AsyncDisplayKit'
/Users/faisalm/dev/scratch/nmessenger/Carthage/Checkouts/AsyncDisplayKit/AsyncDisplayKit/module.modulemap:1:18: error: redefinition of module 'AsyncDisplayKit'
A shell task failed with exit code 65:
** BUILD FAILED **


The following build commands failed:
	CompileC /Users/faisalm/Library/Developer/Xcode/DerivedData/AsyncDisplayKit-ejbxwlhbnarvxxgbatxhctlugrfy/Build/Intermediates.noindex/AsyncDisplayKit.build/Release-iphoneos/AsyncDisplayKit-iOS.build/Objects-normal/armv7/ASLayoutManager.o AsyncDisplayKit/TextKit/ASLayoutManager.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

I am using Xcode 9.

@d4rkm1nd54
Copy link

d4rkm1nd54 commented Oct 17, 2017

Same here :'(

 shell task (/usr/bin/xcrun xcodebuild -workspace /Users/Documents/project/Carthage/Checkouts/AsyncDisplayKit/AsyncDisplayKit.xcworkspace -scheme AsyncDisplayKit-iOS -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:
** BUILD FAILED **


The following build commands failed:
	CompileC /Users/User/Library/Developer/Xcode/DerivedData/AsyncDisplayKit-hdvgvutxxvbrpbgmwtegijhcjagn/Build/Intermediates.noindex/AsyncDisplayKit.build/Release-iphoneos/AsyncDisplayKit-iOS.build/Objects-normal/armv7/ASLayoutManager.o AsyncDisplayKit/TextKit/ASLayoutManager.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

@bayareahank
Copy link

It is the cartfile isn't updated to Texture when they did the Texture migration.

Replace the content inside Cartfile with this should solve this compilation error.

github "TextureGroup/Texture" "2.3.2"

@soleniacz
Copy link

Same here. There is a problem with (Texture) build Configuration?

Changing file module.modulemap to AsyncDisplayKit.modulemap and Module Map File in build configuration AsyncDisplayKit/module.modulemap to AsyncDisplayKit/AsyncDisplayKit.modulemap work but of course there is another

error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

Why? Why? If there is support Carthage I should don't need to use Cocoa Pods.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants