If you've got a partial iPhone SDK download (because of power outage, network failure, or because you just didn't want to keep your computer running all night), here's a short description on how to resume it using Firefox:
(Shameless plug from http://forums.mozillazine.org/viewtopic.php?p=3069821&highlight= )
It IS completely possible to do that with Firefox itself.
I know it is too late considering the last post on this thread, but I want to share the solution with other people who might have this problem.
1- you have two files on the destination folder. One with the original name and one with an extra ".PART" extension. Move both of these files to some other folder (Move! not copy)
2- Start your download again from the beginning (you have access to the download link, don't you?)
3- Let it download a few bytes, just to have those two files created again, with the exact same name. Now PAUSE this download.
4- Go to the folder where you backed up those old files. Copy both of these files to your download folder and replace the new created files when asked.
5- Now go to Firefox's Downloads form and resume the download.
Dienstag, 2. November 2010
Sonntag, 15. August 2010
CoreData or "never change an existing data model"
Ok, so sometimes I'm a little bit naive (esp. regarding SW development):
Added a new entity to my CoreData data model, build&run - hups.
App crashes, the console contains
"The model used to open the store is incompatible with the one used to create the store"
Googling around for the error message quickly brought the sholution - delete app + data from the iPhone simulator, and re-build it. Everything is fine again :-)
Added a new entity to my CoreData data model, build&run - hups.
App crashes, the console contains
"The model used to open the store is incompatible with the one used to create the store"
Googling around for the error message quickly brought the sholution - delete app + data from the iPhone simulator, and re-build it. Everything is fine again :-)
Sonntag, 8. August 2010
XCode - neue Version, neue Fehlermeldungen
Nachdem mein iPhone 3GS schon seit geraumer Zeit unter iOS4 läuft, war es höchste Zeit, endlich mal auf das aktuelle iPhone SDK + XCode umzusteigen. Die Installation lief problemlos, beim Compilieren gab's aber einen
"Base SDK missing"
Fehler. Mit ein bisschen googlen (die Ergenisse von Yahoo sind einfach qualitativ nicht so gut wie die von Google) fand ich die Lösung:
choose Project --> Edit Project Settings. When a dialog appears, click the Build tab and change the value in the Base SDK option.
Funktioniert. Jetzt nur noch das Provisioning Profile erneuern, und weiter geht's :-)
"Base SDK missing"
Fehler. Mit ein bisschen googlen (die Ergenisse von Yahoo sind einfach qualitativ nicht so gut wie die von Google) fand ich die Lösung:
choose Project --> Edit Project Settings. When a dialog appears, click the Build tab and change the value in the Base SDK option.
Funktioniert. Jetzt nur noch das Provisioning Profile erneuern, und weiter geht's :-)
Dienstag, 18. Mai 2010
Mac Shortcuts
Man lernt nie aus - jetzt benutze ich seit > 5 Jahren ausschliesslich Macs zuhause, aber einige nützliche Keyboard Shortcuts sind mir bislang entgangen:
Finder
--------
Return: benennt die selektierte Datei um
Space: öffnet die Vorschau für die selektierte Datei
Cmd+Click auf das Ordnersymbol: erlaubt schnelles Navigieren im Verzeichnisbaum
Dock
------
Cmd+Click: öffnet ein Finder-Fenster + navigiert dorthin, wo das selektierte Objekt zu finden ist
Ctrl+Click: zeigt alle Fenster des selektierten Programms an
Wenn das so weitergeht, werd' ich meine geliebte Kommandozeile bald gar nicht mehr benutzen und mutier' noch zum Mausschubser :-)
Finder
--------
Return: benennt die selektierte Datei um
Space: öffnet die Vorschau für die selektierte Datei
Cmd+Click auf das Ordnersymbol: erlaubt schnelles Navigieren im Verzeichnisbaum
Dock
------
Cmd+Click: öffnet ein Finder-Fenster + navigiert dorthin, wo das selektierte Objekt zu finden ist
Ctrl+Click: zeigt alle Fenster des selektierten Programms an
Wenn das so weitergeht, werd' ich meine geliebte Kommandozeile bald gar nicht mehr benutzen und mutier' noch zum Mausschubser :-)
Mittwoch, 12. Mai 2010
Ruby one-liners: Textersetzung
Ruby ist manchmal unglaublich praktisch:
ruby -pi.bak -e "gsub('create or replace view', 'create or replace force view')" *.sql
ruby -pi.bak -e "gsub('create or replace view', 'create or replace force view')" *.sql
ersetzt "create or replace view" mit "create or replace force view" in allen .sql-Dateien im aktuellen Verzeichnis. Wozu? Damit Oracle auch Views erstellt, deren SQL-Statement einen Fehler enthält :-)
Freitag, 7. Mai 2010
Spass mit XCode: "The program being debugged is not being run"
Die Fehlermeldungen von XCode sind manchmal nicht sonderlich hilfreich:
"
Mit etwas yahooen fand ich dann raus, dass es an einem abgelaufenen Profil auf dem iPhone lag; nachdem ich dieses via Einstellungen -> Allgemein -> Profile entfernt hatte, ging's wieder (siehe auch http://adylitica.com/2010/02/22/iphone-security-policy-error/)
"
Error from Debugger: The program being debugged is not being run."
Mit etwas yahooen fand ich dann raus, dass es an einem abgelaufenen Profil auf dem iPhone lag; nachdem ich dieses via Einstellungen -> Allgemein -> Profile entfernt hatte, ging's wieder (siehe auch http://adylitica.com/2010/02/22/iphone-security-policy-error/)
Dienstag, 4. Mai 2010
Rubyscript2Exe / Ocra + Oracle Instant Client
Ich benutze seit geraumer Zeit Rubyscript2exe, um aus ruby-Scripts executables zu bauen (z.B. zum Dumpen von Datenbanken beim Kunden).
Leider spielt rubyscript2exe mit Oracle Instant Client nicht so toll zusammen - es verpackt die oci.dll mit rein, was dazu führt, dass es beim Ausführen einen "OCI initialization error" gibt, weil die oci.dll Bibliotheken nicht findet, von denen sie abhängt.
Nach diversem Rumprobieren hab' ichs dann zum Laufen gekriegt, allerdings war dann ein executable 45MB gross :-(
Ocra scheint das Ganze anders zu handlen - es erzeugt ein lauffähiges executable, was <1MB ist. Einziger Nachteil: Es läuft nur unter Windows.
Leider spielt rubyscript2exe mit Oracle Instant Client nicht so toll zusammen - es verpackt die oci.dll mit rein, was dazu führt, dass es beim Ausführen einen "OCI initialization error" gibt, weil die oci.dll Bibliotheken nicht findet, von denen sie abhängt.
Nach diversem Rumprobieren hab' ichs dann zum Laufen gekriegt, allerdings war dann ein executable 45MB gross :-(
Ocra scheint das Ganze anders zu handlen - es erzeugt ein lauffähiges executable, was <1MB ist. Einziger Nachteil: Es läuft nur unter Windows.
Freitag, 5. Februar 2010
Oracle 11g unter CentOS
Endlich Oracle 11g R2 unter CentOS 5.4 zum Laufen gekriegt (DHCP + Oracle funktioniert nicht wirklich gut - mit statischer IP-Adresse ging's ohne Probleme).
iPhone + VMWare Fusion = Kopfschmerzen par excellence
Schmerzhafte Lektion: Man sollte nie eine virtuelle Maschine hochfahren, während man am gleichen Rechner die Firmware seines iPhones updated (VMWare Fusion übernimmt nämlich beim Hochfahren der VM die USB Ports, und iTunes reagiert darauf ziemlich verschnupft :-(
Lösung: in iTunes das iPhone zurücksetzen + danach das Backup wieder aufspielen.
Lösung: in iTunes das iPhone zurücksetzen + danach das Backup wieder aufspielen.
Abonnieren
Posts (Atom)