Comments (11)
I got the same issue. You can work around it in your Podfile by adding this.
But it would be nice if the project file was updated.
# Force swift 3 config
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
from easytipview.
My steps:
- Open existing Swift 2.2 project
- Use the migration tool in Xcode 8 (only on my code, not on the pods)
- Be frustrated by the migration tool and Xcode in general
- pod install
- build project
- Error message as described
It wasn't only EasyTipView, it happened for Material as well (https://github.com/CosmicMind/Material).
from easytipview.
Hey guys, can you walk me through your problem? I keep on getting this issue from several people but for me it does not reproduce.
Steps I followed:
- Create a new Xcode project.
- run
pod init
- add
pod 'EasyTipView', '~> 1.0.2'
to the Podfile - run
pod install
- open
*.xcworkspace
and import the library where you want to use it.
It all worked seamlessly for me. Maybe it's something related to the way you're migrating from Swift 2.x to 3.x?
from easytipview.
Getting this same error too :/
from easytipview.
When I use the following code I get:
# Force swift 3 config post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '3.0' end end end
Module file was created by a new version of the compiler...
error. Not sure how to get around this.
from easytipview.
If the fix is on the framework's side, then you're welcome to open a PR with the fixes.
from easytipview.
This is still an issue?
from easytipview.
Some people use this to get around your issue:
# Force swift 3 config
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
end
I cannot find anything wrong on the library's side, it works with a brand new Swift 3 project, but when you have a Swift 2.x project which you migrate to Swift 3 using Xcode, somehow the pod gets messed up. Maybe this is an issue concerning cocoapods?
from easytipview.
Still looking at this regarding fixes (literally investigating right now).
Is 1.0.2 the latest?
On 31 October 2016 at 13:24, Teodor PatraΕ [email protected] wrote:
Some people use this to get around your issue:
Force swift 3 config
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
end
end
endI cannot find anything wrong on the library's side, it works with a brand
new Swift 3 project, but when you have a Swift 2.x project which you
migrate to Swift 3 using Xcode, somehow the pod gets messed up. Maybe this
is an issue concerning cocoapods?β
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#61 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB04RoWeMcvUxNTbq3v3t-T5Ks8aN8ZWks5q5ewYgaJpZM4KW2f1
.
from easytipview.
Yes, 1.0.2 is the latest. If you find something on how to fix this problem from the library's side, you can open a PR.
from easytipview.
When using the force swift 3 workaround - Xcode complains saying the module was created by a newer version of the compiler.
from easytipview.
Related Issues (20)
- How to hide tooltip in tableview cell while scrolling tableview HOT 1
- ToolTip is not showing on iOS 13 devices HOT 1
- 'shared' is unavailable in application extensions HOT 1
- Need special support, we use your library in our product
- Problems building w/ Carthage and Xcode 12.2 HOT 9
- Custom View HOT 1
- use in swiftui?
- How Do I enable Tap Anywhere in the view to Dismiss ? HOT 4
- Dismiss tip before show another tip HOT 2
- iOS 11 display bug
- In iOS 14.4 unable to show Tooltip in Navigationbar LeftItem or TitleView. HOT 1
- Is there an option to add button to the tooltip view? HOT 3
- Invalid exlude - file not found warning in Xcode 13.0 HOT 3
- add Blur Effect
- Can I set the bubble size?
- Tip not dismissed automatically inside prototype table view cell HOT 1
- Arrow height is included in tooltip height when arrow is not positioned at top or bottom HOT 1
- Doesn't work with inception table/collection/views
- Can not click to button inside custom tipview HOT 2
- Feature request and doubt clearance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easytipview.