Comments (14)
Same here.
from tapkulibrary.
You crazy kids need to stop using xcode 4 ;)... I'll look into the problem. Based on that error, its a silly error.
from tapkulibrary.
After going through all targets, pressing delete on all Build only active targets, setting targets to Mac OS and then back to iOS, many many places, it now works. But still not a real solution. Also xcode4 finds insane amount of warnings, semantic some warnings
from tapkulibrary.
traustitj can you share the final project that works on you machine?
I wasn't able to make mine work yet.
from tapkulibrary.
One workaround I used is to add "i386" to "valid architectures" setting (besides armv6 and armv7).
from tapkulibrary.
It worked for me as well when I did it everywhere. Thanks!
from tapkulibrary.
I had the same errors. The fix for the error (simulator only) is the add i386 to valid architectures setting. The fix for the compiler warnings is to change every instance of:
if (self = [super init]) {
...
to if ((self = [super init]) {
...
In all the init methods. The problem was that xcode 4 is intelligent and thinks (correctly) that the majority of assign not compares in if statements are meant to be compares, so warns you.
I'll code up a fix for these two problems and push it.
from tapkulibrary.
I came up against the same issue. Fixed by specifying 'iOS device' as my target platform from the Scheme selector, top-left (and making sure all projects and sub-projects had 'build active architecture only' set to NO - not sure if that made a huge difference). It's indicative of a problem in a project settings file...
Adding i386 to the valid architectures setting is probably not advisable. ;)
(I am, however, getting some weird linker errors on trying to build libTapkuLibrary (TKCalendarMonthView) - trying to work out what that's all about now)
from tapkulibrary.
@oioistudios what is the linker error exactly? There is known bug in linker that ships with XCode 4, and there are two workarounds:
- enable build optimization (at least the lowest one)
- use GCC instead of LLVM compiler
I agree that setting i386 is not advisable - but I was desperate :)
from tapkulibrary.
Actually, I stand corrected. I do believe i386 is a valid architecture (the Simulator!)
My bad.
Yeah, just discovered that bug re: LLVN linker and optimisation. I set the optimisation level on TapkuLibrary to -O1 (I don't actually need debug symbols from tapku in my current project, anyway) and that worked like a charm.
Thanks! :D
from tapkulibrary.
For me the error went away just by selecting:
Build Active Architecture Only to NO
from tapkulibrary.
i've did this: http://cl.ly/59gg
i think everyone should search for the framework settings not only the project.
if you read it says that the error message is from the TapkuLibraryExtra
Problem solved.
from tapkulibrary.
I didn't need to include the i386
from tapkulibrary.
I fixed the error and removed the build warnings too with the latest commit. If you see this issue with other projects, you can find the fix here https://devforums.apple.com/message/374009.
from tapkulibrary.
Related Issues (20)
- Story board
- Month View and support for width > 320pt HOT 1
- Double tap left/right arrows registered by view behind
- how to get v0.3.5 or the latest version by podspec
- Wrong calendar width in iPhone 6 and 6 plus. HOT 7
- tapkulibrary fail to archive in xcode 5.1.1
- Request: Day Calendar View for iPad HOT 2
- Handle event for TKMultiSwitch HOT 1
- DayView : current time update - Enhancement HOT 1
- Tapku calendar was rejected by apple review for the first time. HOT 3
- TKAlertCenter
- [Calendar Day View] go to specific date
- can not install from cocoasPod? HOT 2
- NSArray index out of length exception
- TapkuLibrary/TapkuLibrary Not Found
- TapkuLibrary.podspec?
- How to change the first day of the week to monday in week view HOT 2
- Events not showing on selecting date
- Support for iPhone X.
- How to run demo project?
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 tapkulibrary.