I just created a new Desktop application with PHP as the language to use, and without creating any modifications to the startup html thats included, I attempted to launch the application.
I get the following error, and the application fails to launch:
dyld: Symbol not found: _iconv
Referenced from: /usr/lib/libcups.2.dylib
Expected in: /Users/predominant/Library/Application Support/Titanium/modules/osx/php/1.1.0/libiconv.2.dylib
in /usr/lib/libcups.2.dylib
20 Answers
Graham: So here's the issue.
1) You're on Lion which hasn't been released and from a Apple Developers Program is still somewhat under an NDA
2) Titanium is open source, we are under NDA, if we push changes into open source on projects under NDA we could get kicked out of the dev program and never be able to do anything w/ apple products again
3) We plan on supporting Lion properly as soon as it's properly released by Apple
As a "temporary" solution:
Download the "Better replacement libiconv" (a patched version) from https://bugzilla.gnome.org/attachment.cgi?id=192432&action=edit
Replace the libiconv.2.dylib /Library/Application Support/Titanium/modules/osx/php/1.1.0 with the downloaded file.
cd /Library/Application\ Support/Titanium/modules/osx/php/1.1.0/ mv libiconv.2.dylib libiconv.2.dylib.old cp /Users/drzippie/Downloads/libiconv.2.dylib .
Hi, has support been added yet? I did get an update prompt just now and installed, but I am still getting the above error as Matt.
Same problem. Using the fully released version of Lion.
I just placed a release candidate up in the cloud which fixes this issue. This needs to be looked at more for the long term, but in the meantime, RC5 for osx can be gotten at the following link, which has been tested on Lion.
I observe, that when I add any PHP code, it is not executed. I don't see any results. Example:
http://k.minus.com/jB1ZqcIy8GJnf.png
I'm using:
http://k.minus.com/jh2qoOP4endtP.png
Any ideas why any PHP code cannot be executed?
This issue is caused by using OSX Lion, we dont yet support Lion and cant truly support it until its released. When Lion is released, we will support it.
Same problem. :(
same problem
Any news on this? I need to use Titanium to continue my development
i test reinstalled but its doesnt work
It only works for me when I have Ruby, Python and PHP unticked in the project file. The error comes up when I enable PHP. I've not tried enabling Ruby or Python. See if that works, if you have all of them unticked in your project file.
I have opened a ticket for this bug here. I will be looking into this and working on a solution. Feel free to watch that ticket for progress and further discussion.
So Lion has been released, and I just downloaded Titanium Studio, and am seeing this error. Is there an update somewhere?
I just downloaded it on Lion and an getting the same error. By when will you fix this?
We need a fix fast! Lion has been out for a good while and I'm still stuck with this issue. Can't do anything!
The same problem here. I'm using desktopsdk-1.2.0.RC4-osx.zip but the problem still exists :(
Any word when this will be fixed?...... It's been a while.....
Guys, I'm still working on this, and trying to get a build for Lion...php doesn't seem too friendly to osx...but I haven't given up yet.
I also really need so help with this please fix ;)
Your Answer
Think you can help? Login to answer this question!