optonaut / ActiveLabel.swift

UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift
MIT License
4.47k stars 686 forks source link

xcode 8 has problem to use ActiveLabel 0.6.2 #113

Closed ShawnBaek closed 7 years ago

ShawnBaek commented 8 years ago

Hi I'm using the storyboard.

I got an error like this.

file:///Users/test_ios9/test/Base.lproj/Main.storyboard: error: IB Designables: Failed to render and update auto layout status for FeedVC (EIx-SL-E27): dlopen(ActiveLabel.framework, 1): Symbol not found: __TMPVs19DictionaryGenerator Referenced from: ActiveLabel.framework Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/../../../../../../Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/libswiftCore.dylib in ActiveLabel.framework

Anyone know about this problem?

My Xcode version is 8 and I had convert to swift 2.3.

dimovskidamjan commented 8 years ago

I'm seeing the same errors, while using the swift-2.3 branch.

assisjeferson commented 8 years ago

@dimovskidamjan exists a pod version with swift 2.3?

dimovskidamjan commented 8 years ago

@assisjeferson Yeah, I used this branch: https://github.com/optonaut/ActiveLabel.swift/tree/swift-2.3 It's not merged yet, but you can point to it like this: pod 'ActiveLabel', :git => 'https://github.com/optonaut/ActiveLabel.swift.git', :branch => 'swift-2.3'

ShawnBaek commented 8 years ago

@dimovskidamjan Did you solve this problem? If so Could you share?

polqf commented 8 years ago

Hi everyone, does pointing to the correct branch fixes the problem? @dimovskidamjan @yoshiboarder

dimovskidamjan commented 8 years ago

No, it does not. The problem goes away on it's own after cleaning and re-building the project and reopening Xcode a couple of times, but it tends to show up again from time to time.

polqf commented 7 years ago

Hi @dimovskidamjan @yoshiboarder @assisjeferson , both master (with Swift 3) and swift-2.3 branches have been updated. Please check it, and tell me if you still see the issue

leminhtuan2015 commented 7 years ago

Same for me, So many error on Swift 3

Please fix

polqf commented 7 years ago

Please, if you are not specific, I cannot help. Provide more information

leminhtuan2015 commented 7 years ago

@poolqf Please help me!

So Please take a look and help me fix, thank you alot!

screen shot 2016-10-17 at 9 24 09 am

screen shot 2016-10-17 at 9 23 38 am

polqf commented 7 years ago

For what I see, you are not using the last version on master. Please check.

What's on your Podfile?

leminhtuan2015 commented 7 years ago

Here is my podfile, Please tell my what version should I import. Thank you!!

platform :ios, '9.0'

use_frameworks!
target 'DemoLable' do

  pod 'ActiveLabel'

end
polqf commented 7 years ago

Podfile seems ok, what's in your Podfile.lock?

dimovskidamjan commented 7 years ago

@leminhtuan2015 I had an issue where pod update installed only version 0.6.2 of this repo. Please try running pod repo update --verbose and only after it finishes run pod update. That way you should get version 0.7.0. Also, set "Use Legacy Swift Language Version" to "No" for the ActiveLabel pod target in Xcode.

dimovskidamjan commented 7 years ago

@poolqf All the warnings and errors are now fixed, as of version 0.7.0. Good job!

cuongdd commented 7 years ago

Please Help Me - Swift 2.3 screen shot 2016-10-17 at 4 34 02 pm Thank a lot!

leminhtuan2015 commented 7 years ago

@dimovskidamjan @poolqf Thank you guys so much, After use version 0.7.0 it work so great.!!!!!

polqf commented 7 years ago

I'm glad you managed to solve your issues. Closing this issue

@cuongdd please use swift-2.3 branch

cuongdd169 commented 7 years ago

@poolqf: I used swift-2.3 branch 0.7.0 (Xcode cleaned). But it have error:
...Main.storyboard: error: IB Designables: Failed to update auto layout status: dlopen(ActiveLabel.framework, 1): Symbol not found: __TMPVs19DictionaryGenerator Referenced from: ActiveLabel.framework Expected in: /Applications/Xcode 8.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Xcode/Overlays/../../../../../../Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/libswiftCore.dylib in ActiveLabel.framework . Can you help me. Thank a lot!

demonar commented 7 years ago

problem might be related to: https://github.com/CocoaPods/CocoaPods/issues/5334, it's a problem with cocoapods