ios build

This commit is contained in:
michaelr 2016-03-23 17:10:08 +02:00
parent 7a1e2e32eb
commit 052e387d61
2 changed files with 43 additions and 1 deletions

View File

@ -8,11 +8,15 @@
*/
#import <UIKit/UIKit.h>
#import <Geth/Geth.h>
#import "AppDelegate.h"
int main(int argc, char * argv[]) {
@autoreleasepool {
dispatch_async(dispatch_get_global_queue( DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{
run("--bootnodes enode://e2f28126720452aa82f7d3083e49e6b3945502cb94d9750a15e27ee310eed6991618199f878e5fbc7dfa0e20f0af9554b41f491dc8f1dbae8f0f2d37a3a613aa@139.162.13.89:30303 --shh --ipcdisable --nodiscover --rpc --rpcapi db,eth,net,web3,shh --fast");
});
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
}
}

38
syng-im/ios/pom.xml Normal file
View File

@ -0,0 +1,38 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.reactjs.native.example</groupId>
<artifactId>Messenger</artifactId>
<version>1.0-SNAPSHOT</version>
<repositories>
<repository>
<id>ci.syng.im</id>
<url>http://ci.syng.im:8081/artifactory/libs-release-local/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<configuration>
<artifactItems>
<artifactItem>
<groupId>syng-im</groupId>
<artifactId>ios-geth</artifactId>
<version>1.4.0-201603151613-92d65cf</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/Frameworks</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</plugin>
</plugins>
</build>
</project>