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

File not found for obj-c #21

Closed
guntidheerajkumar opened this issue Nov 4, 2016 · 12 comments
Closed

File not found for obj-c #21

guntidheerajkumar opened this issue Nov 4, 2016 · 12 comments

Comments

@guntidheerajkumar
Copy link

Hi, As mentioned in the obj-c example, there is no file URLEmbeddedView/URLEmbeddedView-Swift.h. Please have a look in to it. I am trying to port that to C#.

@chirag225
Copy link

Same here URLEmbeddedView/URLEmbeddedView-Swift.h. not found Please help

@marty-suzuki
Copy link
Owner

@guntidheerajkumar Sorry for late replying.
@chirag225 Hi!

Please install URLEmbeddedView via CocoaPods.
URLEmbeddedView-Swift.h dose not generate until you build project first time.
Thank you.

@chirag225
Copy link

I Added URLEmbeddedView via CocoaPods and build project but not finding URLEmbeddedView-Swift.h . Where should i find this file

@marty-suzuki
Copy link
Owner

URLEmbeddedView-Swift.h is automatically generated by Xcode when project builds.
Therefore, it dose not exist if project building fails.

@marty-suzuki marty-suzuki reopened this Feb 24, 2017
@guntidheerajkumar
Copy link
Author

Thank you so much.

@marty-suzuki
Copy link
Owner

@chirag225 @guntidheerajkumar
I've fix some issue.
Please write Podfile like this and try it!

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'Your Project Name' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
   use_frameworks!

  # Pods for Your Project Name
  pod 'URLEmbeddedView'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |configuration|
      configuration.build_settings['SWIFT_VERSION'] = "3.0"
    end
  end
end

@chirag225
Copy link

I am getting Swift Compiler Error(147 Error) from CryptoSwift files

@marty-suzuki
Copy link
Owner

@chirag225
What swift version do you use in your project? objc only?

@chirag225
Copy link

i use only Objective c and xcode 8.2.1 , I already use some swift file using pods

@marty-suzuki
Copy link
Owner

What swift version do other swift frameworks in you project?
If those use swift2.3, you have to use URLEmbededView 0.5.0

@chirag225
Copy link

i am using all swift3.0 file

@Chirag89-JackSparrow
Copy link

Chirag89-JackSparrow commented Aug 11, 2018

Hello @marty-suzuki
screen shot 2018-08-11 at 3 37 22 pm
screen shot 2018-08-11 at 3 38 23 pm

I have project in Objective c and I facing same problem as @chirag225
I try your suggestion as follows but not work.

# Uncomment the next line to define a global platform for your project
 platform :ios, '9.0'

target 'ProjectName' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for ProjectName
   
    pod 'URLEmbeddedView', '~> 0.16'

#    pod 'PhotoEditorSDK'
end
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |configuration|
            configuration.build_settings['SWIFT_VERSION'] = "3.0"
        end
    end
end

Give me 28 Errors from your project.

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

4 participants