Archives de catégorie : Technologie

_libimobiledevice for macosx !

The objective of the day: Compiler libimobiledevice for macosx.

The objective is to be able to deploy the apps generated with jembe directly to your iphone or ipad without using itunes.

I will describe the whole compilation process. If you are only interested on the binary, go directly to the download section

I already write some post here to explain how to create the cross compiler and use it. I also write about the issues on compiling the dependencies. If you need to redo all the work, you can read these posts:

(Lire la suite…)


_The universal compiler: Used with cmake

cmake is really a great tool. But there is a lack of documentation to use it for cross compilation:http://www.cmake.org/Wiki/CMake_Cross_Compiling

I am working on compiling libimobiledevice for MacOSX. One of its dependency is usbmuxd, and usbmuxd is compiled using cmake.

So, let’s start: First, to cross compile with clang, the command line should be something like:

/opt/compiler/llvm31/bin/clang -target i386-apple-darwin -isysroot /opt/compiler/mac/Developer/SDKs/MacOSX10.4u.sdk -B/opt/compiler/mac/bin

(Lire la suite…)


_libicns: os independent lib for macosx icons

We are working hard to make the jembe interface simplest.
One of the default of this interface is the number of needed icons and format.
For all desktop applications, we need a png image (that will be displayed in the title bar of the application). This icon size is 32×32


_libimobiledevice: Get the crash report

libimobiledevice is a great library that make it simplier to develop an ios app from linux that from macosx !

  • the installer: To install an ipa on a macosx, you have to upload your ipa in itunes, and then you can synchronise with your ipad. On linux, just execute one command! :
ideviceinstaller -i demo-ios-1.0.0.ipa
  • syslog: On macosx you have to start xcode, then the organiser to see the logs. On linux, just use:
idevicesyslog

There are other great application of the imobiledevices that you may need, but for the development, these 2 are the most important.

One command is missing: You  may need to access and read the crashlog when something goes wrong…

(Lire la suite…)


_Integrate libicns with qt

As the core of jembe is written in qt, I need to create a simple qt wrapper arround libicns.

I think that a correct interface would be:

class QtIcns {
  private:
    icns_family_t* iconFamily;
  public:
    QtIcns();
    bool addPixmap(QPixmap &pixmap);
    bool save(QString output);
};

(Lire la suite…)