[codenameone-discussions] Re: Airwatch App wrapping

2016-06-22 Thread Shai Almog
Looking at the code I see that the 6.0 value is only set if 
ios.bitcode=true and it defaults to false.

That last error is exactly why we reverted the iphone_new change and 
returned to the older build servers. We are working on a major overhaul to 
the build process to circumvent that error. Hopefully it should be out by 
mid July.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/838b2517-6715-458d-9f31-3c2b2162c430%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-22 Thread DVR Alarm
another iphone build failed right after a successful build

ProcessProductPackaging /Users/administrator/Library/MobileDevice/Provisioning\ 
Profiles/TempProfile.mobileprovision 
build/Release-iphoneos/[REDACTED].app/embedded.mobileprovision
cd 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build427251739850254216xxx/dist
export 
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-productPackagingUtility 
/Users/administrator/Library/MobileDevice/Provisioning\ 
Profiles/TempProfile.mobileprovision -o 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build427251739850254216xxx/dist/build/Release-iphoneos/[REDACTED].app/embedded.mobileprovision
error: class '(null)' of input object does not respond to either selector 
writeToFile:options:error: or writeToFile:atomically

** BUILD FAILED **


The following build commands failed:
ProcessProductPackaging 
/Users/administrator/Library/MobileDevice/Provisioning\ 
Profiles/TempProfile.mobileprovision 
build/Release-iphoneos/[REDACTED].app/embedded.mobileprovision
(1 failure)



On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/254c63af-e529-44c3-9065-b6f4285a4967%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-22 Thread DVR Alarm
the latest iphone build was successful, the Info.plist file looks like below

{
  "CFBundleName" => "[REDACTED]"
  "DTSDKName" => "iphoneos9.3"
  "DTXcode" => "0731"
  "CFBundleIcons~ipad" => {
"CFBundlePrimaryIcon" => {
  "CFBundleIconFiles" => [
0 => "AppIcon29x29"
1 => "AppIcon57x57"
2 => "AppIcon60x60"
3 => "AppIcon72x72"
4 => "AppIcon76x76"
  ]
}
  }
  "UIApplicationExitsOnSuspend" => 0
  "DTSDKBuild" => "13E230"
  "CFBundleDevelopmentRegion" => "en"
  "CFBundleVersion" => "1.0"
  "BuildMachineOSBuild" => "15F34"
  "NSMainNibFile" => "MainWindow"
  "CFBundleShortVersionString" => "1.0"
  "CFBundlePackageType" => "APPL"
  "DTPlatformName" => "iphoneos"
  "CFBundleSupportedPlatforms" => [
0 => "iPhoneOS"
  ]
 * "CFBundleInfoDictionaryVersion" => "5.1.1"*
  "CFBundleExecutable" => "[REDACTED]"
  "DTCompiler" => "com.apple.compilers.llvm.clang.1_0"
  "UILaunchImages" => [
0 => {
  "UILaunchImageSize" => "{414, 736}"
  "UILaunchImageName" => "LaunchImage-800-Portrait-736h"
  "UILaunchImageMinimumOSVersion" => "8.0"
  "UILaunchImageOrientation" => "Portrait"
}
1 => {
  "UILaunchImageSize" => "{414, 736}"
  "UILaunchImageName" => "LaunchImage-800-Landscape-736h"
  "UILaunchImageMinimumOSVersion" => "8.0"
  "UILaunchImageOrientation" => "Landscape"
}
2 => {
  "UILaunchImageSize" => "{375, 667}"
  "UILaunchImageName" => "LaunchImage-800-667h"
  "UILaunchImageMinimumOSVersion" => "8.0"
  "UILaunchImageOrientation" => "Portrait"
}
3 => {
  "UILaunchImageSize" => "{320, 480}"
  "UILaunchImageName" => "LaunchImage-700"
  "UILaunchImageMinimumOSVersion" => "7.0"
  "UILaunchImageOrientation" => "Portrait"
}
4 => {
  "UILaunchImageSize" => "{320, 568}"
  "UILaunchImageName" => "LaunchImage-700-568h"
  "UILaunchImageMinimumOSVersion" => "7.0"
  "UILaunchImageOrientation" => "Portrait"
}
  ]
  "MinimumOSVersion" => "6.0"
  "CFBundleIdentifier" => "[REDACTED]"
  "UIPrerenderedIcon" => 1
  "UIAppFonts" => [
0 => "material-design-font.ttf"
  ]
  "CFBundleIconFiles" => [
0 => "Icon.png"
1 => "i...@3x.png"
2 => "ic...@3x.png"
3 => "i...@2x.png"
4 => "Icon-72.png"
5 => "Icon-Small-50.png"
6 => "Icon-Small.png"
7 => "icon-sm...@2x.png"
8 => "Icon7.png"
9 => "ic...@2x.png"
10 => "Icon-76.png"
11 => "Icon-152.png"
  ]
  "CFBundleIcons" => {
"CFBundlePrimaryIcon" => {
  "CFBundleIconFiles" => [
0 => "AppIcon29x29"
1 => "AppIcon57x57"
2 => "AppIcon60x60"
  ]
}
  }
  "LSRequiresIPhoneOS" => 1
  "UISupportedInterfaceOrientations" => [
0 => "UIInterfaceOrientationPortrait"
1 => "UIInterfaceOrientationPortraitUpsideDown"
  ]
  "CFBundleDisplayName" => "[REDACTED]"
  "CFBundleSignature" => ""
  "DTXcodeBuild" => "7D1014"
  "DTPlatformVersion" => "9.3"
  "DTPlatformBuild" => "13E230"
  "UIDeviceFamily" => [
0 => 1
  ]
}


On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0778d8eb-ce34-45da-aa04-f3f4a1b135a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-22 Thread DVR Alarm
Hi Shai,  last four requests at minimum were for distribution build.  Not 
only that, I changed the build target to use "iphone_new" for the following 
ant tasks.  The last successful iPhone release build from CN1 still has 
CFBundleInfoDictionaryVersion as 5.1.1.

build-for-ios-device
build-for-ios-device-release

Unfortunately, the route I took not originally intended for but it is my 
only way at this moment;  I downloaded the sources from CN1 after the 
successful build and compiled locally with Xcode.  I was able to generate 
an archive from Xcode and that has CFBundleInfoDictionaryVersion set to 
6.0; of course I had to change the build settings here and there.




On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ab6bbda0-7c22-43d8-b89b-32de018a79db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-21 Thread DVR Alarm
Android build was a success

On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c36c6b39-4d13-4d4b-ab79-e4b17f3b14a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-21 Thread DVR Alarm
third build failed with the following error (TOTALLY) different from last 
two failed builds.  I am going to build for Android now to see what happens:

ProcessProductPackaging /Users/administrator/Library/MobileDevice/Provisioning\ 
Profiles/TempProfile.mobileprovision 
build/Release-iphoneos/[REDACTED].app/embedded.mobileprovision
cd 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build7974935434196687637xxx/dist
export 
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-productPackagingUtility 
/Users/administrator/Library/MobileDevice/Provisioning\ 
Profiles/TempProfile.mobileprovision -o 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build7974935434196687637xxx/dist/build/Release-iphoneos/[REDACTED].app/embedded.mobileprovision
error: class '(null)' of input object does not respond to either selector 
writeToFile:options:error: or writeToFile:atomically

** BUILD FAILED **


The following build commands failed:
ProcessProductPackaging 
/Users/administrator/Library/MobileDevice/Provisioning\ 
Profiles/TempProfile.mobileprovision 
build/Release-iphoneos/[REDACTED].app/embedded.mobileprovision
(1 failure)



On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/6106fc15-6106-49da-b73e-e089cad2d905%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-21 Thread DVR Alarm
I need to hear a GOOD explanation of the differences.  Between my last two 
builds sent to CN1 build server nothing changed in my code, certificate, 
profile or build configuration. Although the latest build failed like the 
earlier build, but messages are completely different between last two 
builds for iPhone-release.  I am going to humor me by sending another build:

** BUILD SUCCEEDED **

Skipping application-groups entitlement
Exception: java.io.FileNotFoundException: 
/Users/administrator/Library/MobileDevice/Provisioning 
Profiles/TempProfile.mobileprovision (No such file or directory)
java.io.FileInputStream.open0(Native Method)
java.io.FileInputStream.open(FileInputStream.java:195)
java.io.FileInputStream.(FileInputStream.java:138)
com.codename1.build.daemon.Executor.copy(Executor.java:1003)
com.codename1.build.daemon.IPhoneBuilder.build(IPhoneBuilder.java:1848)
com.codename1.build.daemon.Executor$5.run(Executor.java:804)



On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/82ede706-15d7-475f-a5f7-f9f78d4c47d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-21 Thread DVR Alarm
another build sent to CN1 builder server for iphone returned with error as 
below,  I am going to send another build to CN1 build server to if I get 
the same error back:

** BUILD SUCCEEDED **

Skipping application-groups entitlement
codesign -f -vv --entitlements 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/Entitlements5871096386660358322.plist
 -s iPhone Distribution: [REDACTED] 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5322858714238130987xxx/dist/build/Release-iphoneos/[REDACTED].app
iPhone Distribution: [REDACTED]: no identity found
iPhone Distribution: [REDACTED]: no identity found
iPhone Distribution: [REDACTED]: no identity found



On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a00454fe-c056-44cc-b0e5-1908f11ed10d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-21 Thread DVR Alarm
automagically the iphone build is working again, but the original issue of 
CFBundleInfoDictionaryVersion being 5.1.1 is still the same

On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/53f7edeb-296b-4390-ac00-1c0082d8b868%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-21 Thread DVR Alarm
modified the build.xml and got the following error on CN1 build server

** BUILD SUCCEEDED **

Skipping application-groups entitlement
Exception: java.io.FileNotFoundException: 
/Users/administrator/Library/MobileDevice/Provisioning 
Profiles/TempProfile.mobileprovision (No such file or directory)
java.io.FileInputStream.open0(Native Method)
java.io.FileInputStream.open(FileInputStream.java:195)
java.io.FileInputStream.(FileInputStream.java:138)
com.codename1.build.daemon.Executor.copy(Executor.java:1003)
com.codename1.build.daemon.IPhoneBuilder.build(IPhoneBuilder.java:1848)
com.codename1.build.daemon.Executor$5.run(Executor.java:804)



On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/b635d96d-82c6-406b-a99f-10d15d30a483%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-20 Thread Shai Almog
Our new xcode build servers use 6.0 so they should work. You can follow our 
process of migrating to them in the blog.

To use them use the iphone_new target as explained here:
https://www.codenameone.com/blog/ios-server-migration-plan.html
https://www.codenameone.com/blog/ios-migration-continued.html

But follow the blog closely as we made an attempt to migrate and decided to 
revert it back after one day:
https://www.codenameone.com/blog/ios-migration-setback.html

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4fc3b2b2-adda-4b6e-bb0e-1eea489268ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.