-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Could not build Objective-C module 'Erik' #39
Comments
Xcode 10? I do not update the project yet Please provide the error message |
In my swift file it simply says "Could not build Objective-C module 'Erik'" when I try to import Erik. Inheritance from non-protocol, non-class type 'AnyObject' |
Ok I will try to update it to Xcode 10/swift 4.2
…On Tue 25 Sep 2018 at 07:57, Jeffrey Yu ***@***.***> wrote:
In my swift file it simply says "Could not build Objective-C module
'Erik'" when I try to import Erik.
When I run Build (command B), a bunch of swift compile errors jump out
from the source file. Following error messages appeared:
Inheritance from non-protocol, non-class type 'AnyObject'
Initializer for conditional binding must have Optional type, not
'HTMLDocument'
Errors thrown from here are not handled
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#39 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AIdu-L_QIw8fLcPQK-M9-C7y4euPDOtVks5uecXYgaJpZM4W3408>
.
|
Thank you so much! |
🎉 Congrats 🚀 Erik (4.2.0) successfully published |
Let me known if it work for you |
I installed Erik using podfile and the installation is successful, but it gives me this error when I do "import Erik". Below is my podfile.
platform :ios, '12.0'
target 'MyTritonLink' do
use_frameworks!
pod 'Erik'
target 'MyTritonLinkTests' do
inherit! :search_paths
# Pods for testing
end
target 'MyTritonLinkUITests' do
inherit! :search_paths
# Pods for testing
end
end
The text was updated successfully, but these errors were encountered: