An attempt to combine static structures using Carthage

  • carthage version: 0.25.0
  • xcodebuild -version: 8.3.3
  • Do you use --no-build? No
  • Do you use --no-use-binaries? No
  • Do you use --use-submodules? No
  • Do you use --cache-builds? No

Cartfile github "rs/SDWebImage" github "AgileBits/onepassword-extension" github "hsousa/HCSStarRatingView" github "sugoi-wada/facebook-ios-sdk" "780a72cd6086c57939d83a7143462ae13dfb9a74" github "CSStickyHeaderFlowLayout/CSStickyHeaderFlowLayout" github "card-io/card.io-iOS-source"

I can build my dependencies using a script construct, as described in the documentation here . Now I am trying to combine my static frameworks into a dynamic one and run into problems.

To start, I add a single framework for the purpose of dylib, I disabled bitkod and added the following OTHER_LDFLAGS: -all_load, -ObjC. I start small with HCSStarRatingView. It has been added to the dylib target, and it creates.

, . , . , let view = HCSStarRatingView(frame: .zero), : Use of unresolved identifier 'HCSStarRatingView'.

, HCSStarRatingView , . , - , . ? , ?

+6
1

, .
, , , . :

 import framework-target
 import HCSStarRatingView

, , carthage

0

All Articles