Code Monkey home page Code Monkey logo

Comments (14)

mathieut avatar mathieut commented on June 27, 2024

Same here.

from tapkulibrary.

devinross avatar devinross commented on June 27, 2024

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.

traustitj avatar traustitj commented on June 27, 2024

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.

mathieut avatar mathieut commented on June 27, 2024

traustitj can you share the final project that works on you machine?

I wasn't able to make mine work yet.

from tapkulibrary.

tomekc avatar tomekc commented on June 27, 2024

One workaround I used is to add "i386" to "valid architectures" setting (besides armv6 and armv7).

from tapkulibrary.

mathieut avatar mathieut commented on June 27, 2024

It worked for me as well when I did it everywhere. Thanks!

from tapkulibrary.

tomhartley avatar tomhartley commented on June 27, 2024

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.

oioistudios avatar oioistudios commented on June 27, 2024

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.

tomekc avatar tomekc commented on June 27, 2024

@oioistudios what is the linker error exactly? There is known bug in linker that ships with XCode 4, and there are two workarounds:

  1. enable build optimization (at least the lowest one)
  2. use GCC instead of LLVM compiler

I agree that setting i386 is not advisable - but I was desperate :)

from tapkulibrary.

oioistudios avatar oioistudios commented on June 27, 2024

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.

emersonmalca avatar emersonmalca commented on June 27, 2024

For me the error went away just by selecting:
Build Active Architecture Only to NO

from tapkulibrary.

brunogama avatar brunogama commented on June 27, 2024

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.

emersonmalca avatar emersonmalca commented on June 27, 2024

I didn't need to include the i386

from tapkulibrary.

devinross avatar devinross commented on June 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.