[codenameone-discussions] Re: ios builds failing

2017-04-07 Thread mcellinpaul
Getting some fast builds this afternoon - so the change made is looking 
good for me :)

Paul

On Thursday, April 6, 2017 at 1:38:21 AM UTC+1, Gareth Murfin wrote:
>
> Im guessing a real build should take 10 mins or less well a real build 
> is a few mins, whats going on!
>
> On Wednesday, April 5, 2017 at 8:44:25 PM UTC+8, xha...@googlemail.com 
> wrote:
>>
>> unfortunately i have the same issue. My ios builds took about 45 min the 
>> last time
>>
>> On Monday, March 27, 2017 at 4:29:47 AM UTC+2, Dave Dyer wrote:
>>>
>>>
>>> IOS builds are failing (again, sigh) same build, 4x in a row for me.
>>>
>>> /zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build6096280022432961172xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Launch/IntermediateBuildFilesPath/Launch.build/Release-iphoneos/Launch.build/Objects-normal/armv7/yspahan_YspahanPlayStratCore.o
>>> ** BUILD INTERRUPTED **
>>> Failed xcodebuild step
>>>
>>>
>>>

-- 
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/d4a6a2c7-c349-4a16-bddc-0cc1b53ff46d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Build interrupted

2017-04-04 Thread mcellinpaul
I have managed to get it to build now, which is a relief, but it still is a 
potential issue - particularly when you have people breathing down your 
neck for a release either for real or for test. ;)

Regards,

Paul

On Tuesday, April 4, 2017 at 11:44:27 AM UTC+1, Paul McEllin wrote:
>
> Sorry for starting this as a new post but the other thread was getting a 
> bit long and I want to ensure it gets seen, but I am hitting the build 
> interrupted issue again.
>
> Now - I i did a successull build yesterday for ios with an ad-hoc 
> certificate that took 20:56 minutes to build. After some testing today I 
> have been trying to build the exact same code but with an app store 
> certificate and it is roughly taking 30 minutes before it fails with the 
> build interrupted.
>
> I understand that you are trying to not put too much pressure on a 
> resource, ie the build server, but it seem to be that a simple timeout is 
> ineffective as it becomes entirely random in whether something will build 
> or not. It does also seem to put a size limit on how big an app you can 
> build with codename one - one that is hard to judge as well.
>
> Is there anyway that this timeout can be increased until a better solution 
> can be found? For me at the moment I cannot release any software to the app 
> store (which I really need to do) until I hit lucky and the build server 
> isn't being overused and my code will build in under 30 minutes.
>
> I am a pro user if that makes any difference ;)
>
> Regards,
>
> Paul
>

-- 
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/6d4f616e-0ef8-4265-8b4c-4a3460020af6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Build interrupted

2017-04-04 Thread mcellinpaul
Sorry for starting this as a new post but the other thread was getting a 
bit long and I want to ensure it gets seen, but I am hitting the build 
interrupted issue again.

Now - I i did a successull build yesterday for ios with an ad-hoc 
certificate that took 20:56 minutes to build. After some testing today I 
have been trying to build the exact same code but with an app store 
certificate and it is roughly taking 30 minutes before it fails with the 
build interrupted.

I understand that you are trying to not put too much pressure on a 
resource, ie the build server, but it seem to be that a simple timeout is 
ineffective as it becomes entirely random in whether something will build 
or not. It does also seem to put a size limit on how big an app you can 
build with codename one - one that is hard to judge as well.

Is there anyway that this timeout can be increased until a better solution 
can be found? For me at the moment I cannot release any software to the app 
store (which I really need to do) until I hit lucky and the build server 
isn't being overused and my code will build in under 30 minutes.

I am a pro user if that makes any difference ;)

Regards,

Paul

-- 
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/0130134f-2fd0-4677-bffc-0e3ecb7b2389%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: ios builds failing

2017-03-28 Thread mcellinpaul


mine has just built :)




On Tue, Mar 28, 2017 at 3:02 PM +0100, "Shai Almog"  
wrote:










I'm on the bootcamp right now but it was probably bad to set this up right 
before I started so I'm upping this to 25 minutes.
Notice this applies to everyone (even us and enterprise developers), this isn't 
an attempt to grab money but rather to force you to share the common resource 
nicely... 

When you take too long to build you cause long queuing which makes the builds 
longer for everyone. The limit is only on physical server time during xcode 
compilation which should be short... If it's not we need to fix it and need 
test cases to fix it. 

When you say 50 minutes there is a good chance you spend a lot of that in a 
queue behind one of the other guys in this thread that is hogging the servers.






-- 

You received this message because you are subscribed to a topic in the Google 
Groups "CodenameOne Discussions" group.

To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/codenameone-discussions/UMkF2MLgUWY/unsubscribe.

To unsubscribe from this group and all its topics, 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/541399ae-3627-41f6-8b42-8e47e1c33433%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.






-- 
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/CB82A15A3D69A7E7.248c03d5-5d32-4c76-8379-ccc8fd12246f%40mail.outlook.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: ios builds failing

2017-03-28 Thread mcellinpaul
I'm getting this too I'm afraid. My builds normally take a lot more than 15 
minutes.

Paul

On Monday, March 27, 2017 at 3:29:47 AM UTC+1, Dave Dyer wrote:
>
>
> IOS builds are failing (again, sigh) same build, 4x in a row for me.
>
> /zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build6096280022432961172xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Launch/IntermediateBuildFilesPath/Launch.build/Release-iphoneos/Launch.build/Objects-normal/armv7/yspahan_YspahanPlayStratCore.o
> ** BUILD INTERRUPTED **
> Failed xcodebuild step
>
>
>

-- 
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/c363ce60-6274-4ab7-8547-9eb9093c7c49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Windows UWP port, arrays and collections

2017-03-10 Thread mcellinpaul
I found some issues when it came to creating new strings if the string was 
empty on UWP - it was throwing an exception whos name escapes me but it was 
a CLI verification exception or something like that

So if in the riginal posters example the variable string was an empty 
string it would complain

ie

String str = "";

Vector v = new Vector();

c.addElement(new String(str)); //doesn't like when str is an empty string
c.addElement("");   //code doesn't seem to mind this

Paul

On Friday, March 10, 2017 at 6:35:12 AM UTC, Shai Almog wrote:
>
> I don't see anything wrong with that.
> Can you try using add and maybe switch to the new collections e.g. 
> ArrayList?
> Maybe there is a deadlock with the synchronized old collections or 
> something like that.
>

-- 
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/f8063527-61ef-4f0b-8ac2-23ad1098db88%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: ios Build Errors

2017-02-14 Thread mcellinpaul


Yeah I'm pretty sure I was on 3.6




On Tue, Feb 14, 2017 at 9:02 PM +, "mcw"  wrote:










Looks like the original poster was also using 3.6. Switched to latest, build 
worked. Back to 3.6, build failed.

Trying to do a new release so I really need a stable buld.

Thanks

On Tuesday, February 14, 2017 at 12:39:06 PM UTC-8, mcw wrote:Forgot to mention 
I submitted my builds using the 3.6 build version  in case that is a factor.








-- 
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/CCADA6DE6CD9739C.5e09c9ab-0c5e-4bb4-9a74-338a52981e88%40mail.outlook.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] ios Build Errors

2017-02-14 Thread mcellinpaul
Hi,

I seem to have started getting build errors from the ios server - and I 
haven't changed any code since last wee when I was getting successful code. 
I'll past the error log below (it's quite short and occurs very early on in 
the build process) but the problematic lines seem to be these

Display.getInstance().setProperty("build_key", 
com.codename1.io.Util.xorDecode(BUILD_KEY));

Display.getInstance().setProperty("built_by_user", 
com.codename1.io.Util.xorDecode(BUILT_BY_USER));


Any idea what it can be? Thanks,


Paul


The full log is this...


Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild 
-version Result is Xcode 7.3.1
Build version 7D1014

Xcode version line matching pattern: Xcode 7.3.1
Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild 
-version Result is Xcode 7.3.1
Build version 7D1014

Xcode version line matching pattern: Xcode 7.3.1
Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild 
-version Result is Xcode 7.3.1
Build version 7D1014

Xcode version line matching pattern: Xcode 7.3.1
Executing: 
/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java 
-Dretrolambda.inputDir=/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/classes
 
-Dretrolambda.classpath=/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/classes:/Users/administrator/Desktop/server1/CodenameOne.jar3.6
 
-Dretrolambda.outputDir=/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/classes_retrolamda
 -Dretrolambda.bytecodeVersion=49 -Dretrolambda.defaultMethods=true -jar 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/temp1346221511440925134.jar 
Retrolambda 2.0.3
Bytecode version: 49 (Java 5)
Default methods:  true
Input directory:  
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/classes
Output directory: 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/classes_retrolamda
Classpath:
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/classes:/Users/administrator/Desktop/server1/CodenameOne.jar3.6
Executing: javac -classpath 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/classes
 -d 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/classes
 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/stub/ApplicationWrapperStub.java
 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/stub/com/codename1/ext/codescan/NativeCodeScannerImplCodenameOne.java
 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/stub/com/codename1/ext/codescan/NativeCodeScannerStub.java
 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/stub/ApplicationWrapperStub.java:17:
 error: cannot find symbol
Display.getInstance().setProperty("build_key", 
com.codename1.io.Util.xorDecode(BUILD_KEY));
^
  symbol:   method xorDecode(String)
  location: class Util
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/stub/ApplicationWrapperStub.java:19:
 error: cannot find symbol
Display.getInstance().setProperty("built_by_user", 
com.codename1.io.Util.xorDecode(BUILT_BY_USER));

^
  symbol:   method xorDecode(String)
  location: class Util
Note: 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build5469685615283285106xxx/stub/ApplicationWrapperStub.java
 uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
2 errors

-- 
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/969e931c-6529-4b12-b702-0cb68b533a87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: UWP File system

2017-02-14 Thread mcellinpaul
Hi - yeah, no problem at all. 

It's just I had code that was running fine on other platforms and emulator 
and it takes a lot of effort to trace where the problem is coming from.

I've discovered now where the files are created when you run a UWP app on a 
PC and can now see the codename one generated log file. Which helps a lot - 
though obviously it's still not a great substitute for hardware debugging.

Thanks,

Paul

On Tuesday, February 14, 2017 at 5:33:36 AM UTC, Shai Almog wrote:
>
> Hi,
> available() isn't guaranteed to return anything other than 0 as this 
> information isn't always available.
> Streams are implemented very differently in C# and we go thru serious 
> hoops to make them feel like input streams...
>

-- 
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/d24ccf8a-11d1-49c9-bd26-1bf9fd96be9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: UWP File system

2017-02-13 Thread mcellinpaul
Hi again,

On further testing it appears that the available() method on the 
InputStream was returning zero.

Thanks,

Paul

On Monday, February 13, 2017 at 12:35:04 PM UTC, mcell...@gmail.com wrote:
>
> Hi, I decided to try and create a uwp version of my codename one app but 
> encountered some errors (which don't occur on simulator or ios or old win 
> pohne builds). 
>
> To try and solve the issue I have been opening the codename one generated 
> source code in visual studio and trying to debug - this isn't easy as there 
> actually isn't much source code to debug in as it all seems to be in a 
> libary - and I'm not sure the best way to output info to the console window 
> so currently, as you will see in this example I am using dialogs to output 
> information back to me.
>
> Anyway, this code is very straightforward - create a file and try and read 
> it back. It seems that the path to the file is file:///Local:\testfile.txt 
> - it appears to create both streams (ie no exe and no null) but there is no 
> file created an it cannot read anything back.
>
> It seems pretty basic code but is not working. Any thoughts? 
>
> Thanks, Paul
>
> Dialog.show("TEST", "Starting file test", "Ok", null);
> String fileName = FileSystemStorage.getInstance().getAppHomePath() + 
>  FileSystemStorage.getInstance().getFileSystemSeparator() + "testfile.txt";
>
> Dialog.show("TEST", "Filename is " + fileName, "Ok", null);
> try {
> OutputStream os = 
> FileSystemStorage.getInstance().openOutputStream(fileName);
> if (os != null) {
> String testOutput = "I am a test";
> Dialog.show("TEST", "outstream open", "Ok", null);
> os.write(testOutput.getBytes());
> Dialog.show("TEST", "Written", "Ok", null);
> os.close();
> InputStream is = FileSystemStorage.getInstance().openInputStream(fileName);
> if (is != null) {
> Dialog.show("TEST", "In stream open", "Ok", null);
> Dialog.show("TEST", "Bytes available : " + is.available(), "Ok", null);
> byte[] dataIn = new byte[is.available()];
> is.read(dataIn);
> Dialog.show("TEST", "Read", "Ok", null);
> String rec = new String(dataIn);
> Dialog.show("TEST", "Received " + rec, "Ok", null);
> is.close();
> }
> }
> }
> catch (Exception e){
> Dialog.show("TEST", "Exe " + e.getMessage(), "Ok", null);
> }
>

-- 
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/2d560dbc-3875-418b-9600-53de9c0fccb9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] UWP File system

2017-02-13 Thread mcellinpaul
Hi, I decided to try and create a uwp version of my codename one app but 
encountered some errors (which don't occur on simulator or ios or old win 
pohne builds). 

To try and solve the issue I have been opening the codename one generated 
source code in visual studio and trying to debug - this isn't easy as there 
actually isn't much source code to debug in as it all seems to be in a 
libary - and I'm not sure the best way to output info to the console window 
so currently, as you will see in this example I am using dialogs to output 
information back to me.

Anyway, this code is very straightforward - create a file and try and read 
it back. It seems that the path to the file is file:///Local:\testfile.txt 
- it appears to create both streams (ie no exe and no null) but there is no 
file created an it cannot read anything back.

It seems pretty basic code but is not working. Any thoughts? 

Thanks, Paul

Dialog.show("TEST", "Starting file test", "Ok", null);
String fileName = FileSystemStorage.getInstance().getAppHomePath() + 
 FileSystemStorage.getInstance().getFileSystemSeparator() + "testfile.txt";

Dialog.show("TEST", "Filename is " + fileName, "Ok", null);
try {
OutputStream os = 
FileSystemStorage.getInstance().openOutputStream(fileName);
if (os != null) {
String testOutput = "I am a test";
Dialog.show("TEST", "outstream open", "Ok", null);
os.write(testOutput.getBytes());
Dialog.show("TEST", "Written", "Ok", null);
os.close();
InputStream is = FileSystemStorage.getInstance().openInputStream(fileName);
if (is != null) {
Dialog.show("TEST", "In stream open", "Ok", null);
Dialog.show("TEST", "Bytes available : " + is.available(), "Ok", null);
byte[] dataIn = new byte[is.available()];
is.read(dataIn);
Dialog.show("TEST", "Read", "Ok", null);
String rec = new String(dataIn);
Dialog.show("TEST", "Received " + rec, "Ok", null);
is.close();
}
}
}
catch (Exception e){
Dialog.show("TEST", "Exe " + e.getMessage(), "Ok", null);
}

-- 
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/aa4092de-205c-43d4-a105-85addbe0badf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Windows UWP Builds still broken?

2017-01-27 Thread mcellinpaul
How would you specify a Microsoft certificate in the build settings. I 
don't see a specific area in for uwp in the codename one settings in 
eclipse (I have the latest plugin) - there is one for ios, Android, RIM, 
J2ME, Win and Javascript - the Win one does not have anything in it and is 
what was always there for the old WinPhone builds pre-UWP.

Paul

On Tuesday, January 24, 2017 at 6:55:02 AM UTC, Shai Almog wrote:
>
> This will be fixed this Friday.
> As far as I recall registration to the windows store is free now but I 
> might be mistaken.
>

-- 
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/0df95927-346d-49c3-8bc4-7a1c1ff7baad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Anyone ever get camera on ios issues?

2016-11-29 Thread mcellinpaul
Mixed up my last reply - I am a pro user not an enterprise user. Doh! Got 
them the wrong way round. Guess I could use crash_protet flag as well :)

Paul

On Tuesday, November 29, 2016 at 5:39:33 AM UTC, Shai Almog wrote:
>
> Hi,
> when you say 3.5 do you mean actual 3.5 or latest? 
> Those are very different things!
> If you don't understand what I mean by this check out this: 
> https://www.codenameone.com/how-do-i---get-repeatable-builds-build-against-a-consistent-version-of-codename-one-use-the-versioning-feature.html
>
> You need to build against the latest if you experience an issue to ensure 
> that the issue wasn't already resolved.
>
> We don't support class cast exception in the iOS VM as it's assumed that 
> this is an exception that wouldn't survive into production. Adding class 
> cast exception tests will enlarge and slow down the final binary.
>

-- 
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/349592e0-ae80-4478-9587-3a80501910a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Anyone ever get camera on ios issues?

2016-11-28 Thread mcellinpaul
Hi,

For what it's worth, he's running on original iPad mini, which I believe 
won't upgrade to ios 10 so it's one of the ios 9 versions. Also my code is 
built against version 3.5.

One thing I'm thinking though if something say on another thread causes my 
app to crash when the camera is open, would that only become apparent when 
I return from the camera back to the app (which has gone?) This could 
explain why it appears to crash in the Camera app. Just a thought though I 
woud have thought it would take everything down but not sure how it works 
on ios.

One thing I have noticed recently is that I wa getting a crash when a class 
cast exception should have been thrown and handled. Just thought it might 
be worth mentioning.

regards,

Paul

On Saturday, November 26, 2016 at 5:55:37 AM UTC, Shai Almog wrote:
>
> Hi,
> we didn't get such reports recently so I'm not sure what can be causing 
> it. If you can get in contact with a user to whom this is happening and see 
> if this can be reproduced with a simple test case on his device and if so 
> what if different about the device that would be helpful.
>

-- 
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/60972326-82f9-42ea-a4ee-5808f32b4c36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Anyone ever get camera on ios issues?

2016-11-25 Thread mcellinpaul
Hi,

I have reports from some customers about the application occasionally 
crashing when taking a photo. I have got some logs that our application 
creates back from some of these customers which indicate that the crash, 
when it happens, occurs within a Capture.capturePhoto() call. ie I have 
this code in my app...

Application.log(Application.LOG_LEVEL_INFO, "About to capture Photo");

final String photoPath = Capture.capturePhoto();

Application.log(Application.LOG_LEVEL_INFO, "Have captured Photo");

and I can see from my logs that "About to capture Photo" is output but 
"Have capture Photo" hasn't been, indicating the crash happened within the 
CN1 method.

Has anyone come across this or is there any tips to reduce the chance of 
the crash happening? I'm not entrely sure but it may be more likely to 
crash on older hardware.

Granted the problem may very well be Apple not Codename one, but any info 
anyone has about this would be useful, just to get people of my back if 
nothing else.

Thanks,

Paul

-- 
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/76476ae6-b864-49ef-a837-761d23dfb1e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Still problems with "iphone" targettype and having to use "iphone_old"

2016-11-04 Thread mcellinpaul


Yeah I've created a new one for app store distribution. Just wanted to check on 
the build hints in advance of using it. I think the build hints have been the 
main cause of my issues. 


Thanks


Thanks




On Fri, Nov 4, 2016 at 4:17 PM +, "Steve Hannah" 
 wrote:










Glad to hear you got it working.


One last question though – when I come to do a release build for the app store 
submission, are there any build hints that you recommend I should use? Most 
refer to ad-hoc or enterprise.

 

I'm not 100% on this, but I think you need to generate a new 
certificate/provisioning profile for submission to the app store (i.e. I don't 
think you can submit builds signed with an enterprise/ad-hoc certificate to the 
app store).  Someone please correct me if I'm wrong.  In which case, you should 
be able to generate a regular distribution certificate and provisioning 
profile.   The ios.distributionMethod build hint would need to be either 
omitted, or set to "app-store".
Steve 






-- 
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/AEA7DE3F115D9A03.a2c72b76-01a1-4d00-ae4e-86279cef4c37%40mail.outlook.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Still problems with "iphone" target type and having to use "iphone_old"

2016-11-03 Thread mcellinpaul


Pretty sure I did Steve though I'll check in the morning I didn't miss it out 
when starting a new project. Going to try generating certificates and profile 
on the Mac in iTunes as there may be a different cert for advocate and 
distribution. Thanks




On Thu, Nov 3, 2016 at 4:46 PM +, "Steve Hannah" 
 wrote:










Are you using the ios.distributionMethod build hint?  I don't have any personal 
experience with ad-hoc or enterprise builds, but I do know of other users who 
have successfully built with the new "iphone" target with these distribution 
methods.  The key is that the distribution method, and the type of provisioning 
profile need to match ( don't recall if the certificate type also needs to 
match but if certificates are generated differently for ad-hoc or enterprise, 
then they would have to match also).
Steve
On Thu, Nov 3, 2016 at 9:34 AM,   wrote:
Hi All, I've been trying to get this going with a very simple test application. 
I have created a certificate .p12 file and two .mobileprovision files via the 
codename one certificate wizard. When going through it I got it to regenerate 
the certificate on iTunes connect (I got the emails from apple saying the old 
one was revoked so this does seem to have done it all from scratch). However I 
still cannot build. In the signing part of the ios build settings I have 
changed the App identifier to what the certificate told me it was and have 
changed the password to "password" which seems to be the hardcoded value the 
wiard sets. However it will not build (I am trying the debug build with the 
development .mobileprovision file). I shall paste more of the error message 
below but the bit that seems quite significant is this...
016-11-03 16:22:50 + [MT] Disqualifying  due to certificateKind (input 
1.2.840.113635.100.6.1.4 doesn't match 1.2.840.113635.100.6.1.2)
2016-11-03 16:22:50 + [MT] -[IDEDistributionProvisioning 
_signingCertificatesApplicableForTeamID:certificateKind:isForInstaller:error:]: 
identityCertificatesMatchingKind [kind=1.2.840.113635.100.6.1.4] = (
)

Any ideas what the problem might be???
Regards,
Paul
More info...
Failed export step
2016-11-03 16:22:50 + [MT] Step failed: : Error Domain=IDEDistributionErrorDomain Code=1 "(null)"


2016-11-03 16:22:50 + [MT] Running step: IDEDistributionSigningAssetsStep 
with 
Chain (2, self inclusive):





2016-11-03 16:22:50 + [MT] Available distribution methods: (
"",
"",
"",
""
)
2016-11-03 16:22:50 + [MT] IDEDistributionItem init 

2016-11-03 16:22:50 + [MT] Set distributionItems on context: (
"'>"
)
2016-11-03 16:22:50 + [MT] -[IDEDistributionProvisioning 
_itemToSigningInfoMap:]: Locating assets for items = (
"'>"
)
2016-11-03 16:22:50 + [MT] Disqualifying  due to certificateKind (input 
1.2.840.113635.100.6.1.4 doesn't match 1.2.840.113635.100.6.1.2)
2016-11-03 16:22:50 + [MT] -[IDEDistributionProvisioning 
_signingCertificatesApplicableForTeamID:certificateKind:isForInstaller:error:]: 
identityCertificatesMatchingKind [kind=1.2.840.113635.100.6.1.4] = (
)







-- 

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/9e5ea976-2300-45ba-92c9-cc1827fc158e%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




-- 
Steve HannahSoftware DeveloperCodename Onehttp://www.codenameone.com






-- 
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/AEA7DE3F115D9A03.7bf6fbf9-9305-4848-a720-ceee09cd6b1e%40mail.outlook.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Still problems with "iphone" target type and having to use "iphone_old"

2016-11-03 Thread mcellinpaul
Hi All, I've been trying to get this going with a very simple test 
application. I have created a certificate .p12 file and two 
.mobileprovision files via the codename one certificate wizard. When going 
through it I got it to regenerate the certificate on iTunes connect (I got 
the emails from apple saying the old one was revoked so this does seem to 
have done it all from scratch). However I still cannot build. In the 
signing part of the ios build settings I have changed the App identifier to 
what the certificate told me it was and have changed the password to 
"password" which seems to be the hardcoded value the wiard sets. However it 
will not build (I am trying the debug build with the development 
.mobileprovision file). I shall paste more of the error message below but 
the bit that seems quite significant is this...

016-11-03 16:22:50 + [MT] Disqualifying  due to certificateKind (input 
1.2.840.113635.100.6.1.4 doesn't match 1.2.840.113635.100.6.1.2)
2016-11-03 16:22:50 + [MT] -[IDEDistributionProvisioning 
_signingCertificatesApplicableForTeamID:certificateKind:isForInstaller:error:]: 
identityCertificatesMatchingKind [kind=1.2.840.113635.100.6.1.4] = (
)


Any ideas what the problem might be???

Regards,

Paul

More info...

Failed export step
2016-11-03 16:22:50 + [MT] Step failed: : Error Domain=IDEDistributionErrorDomain Code=1 "(null)"


2016-11-03 16:22:50 + [MT] Running step: IDEDistributionSigningAssetsStep 
with 
Chain (2, self inclusive):





2016-11-03 16:22:50 + [MT] Available distribution methods: (
"",
"",
"",
""
)
2016-11-03 16:22:50 + [MT] IDEDistributionItem init 

2016-11-03 16:22:50 + [MT] Set distributionItems on context: (
"'>"
)
2016-11-03 16:22:50 + [MT] -[IDEDistributionProvisioning 
_itemToSigningInfoMap:]: Locating assets for items = (
"'>"
)
2016-11-03 16:22:50 + [MT] Disqualifying  due to certificateKind (input 
1.2.840.113635.100.6.1.4 doesn't match 1.2.840.113635.100.6.1.2)
2016-11-03 16:22:50 + [MT] -[IDEDistributionProvisioning 
_signingCertificatesApplicableForTeamID:certificateKind:isForInstaller:error:]: 
identityCertificatesMatchingKind [kind=1.2.840.113635.100.6.1.4] = (
)


-- 
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/9e5ea976-2300-45ba-92c9-cc1827fc158e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Still problems with "iphone" target type and having to use "iphone_old"

2016-11-02 Thread mcellinpaul


Nice one. Thanks :) 




On Wed, Nov 2, 2016 at 4:40 PM +, "Steve Hannah" 
 wrote:










If you are using an enterprise or ad-hoc certificate, make sure you use the 
ios.distributionMethod build hint.
https://www.codenameone.com/manual/advanced-topics.html
(Do find for "distributionMethod")
If you can also specify this value separate for release and debug builds using 
ios.release.distributionMethod, and ios.debug.distributionMethod respectively).
Steve
On Wed, Nov 2, 2016 at 8:50 AM, Steve Hannah  
wrote:
In my experience, if "iphone" fails, and "iphone_old" works, you're just 
kicking the can down to runtime for a failure.  "iphone" is much more picky 
that all of the certificates, entitlements, and permissions are correct and 
consistent.  In this case it is complaining that the certificate provided in 
the wrong "kind" for the type of build you are doing.  Are you doing an ad hoc 
or enterprise build?  Is it s debug build or a release build?
Steve
On Wed, Nov 2, 2016 at 4:03 AM,   wrote:
Hi,
I am still having problems building for ios if I don't use the iphone_old 
target type. It seems to surround the signing of the app but I am using the 
same certificate and provisioning profile that works with iPhone_old. 
Any ideas what it could be? here is the end of the error log which will 
hopefully through out some clues.
Regards,
Paul
LOGNAME=administrator
_=/usr/bin/env
+ /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -exportArchive 
-archivePath ApplicationWrapper.xcarchive -exportPath 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build1347080266284814304xxx/result
 -exportOptionsPlist 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/export8364358331285155482.plist
 -verbose PROVISIONING_PROFILE=790dba8e-41b9-4541-b71a-4780864e6073 
'CODE_SIGN_IDENTITY=iPhone Distribution: eSay Solutions Limited (EA67SMA4LD)' 
KEYCHAIN=/Users/administrator/Library/Keychains/temp1478080279572.keychain 
CODE_SIGN_ENTITLEMENTS=/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/Entitlements1956301248681602482.plist
2016-11-02 05:07:05.069 xcodebuild[75594:19129460] [MT] IDEDistribution: 
-[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path 
'/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/ApplicationWrapper_2016-11-02_05-07-05.068.xcdistributionlogs'.
2016-11-02 05:07:05.096 xcodebuild[75594:19129460] [MT] DeveloperPortal: Using 
pre-existing current store at URL 
(file:///Users/administrator/Library/Developer/Xcode/DeveloperPortal%207.3.1.db).
2016-11-02 05:07:05.280 xcodebuild[75594:19129460] [MT] IDEDistribution: Step 
failed: : Error 
Domain=IDEDistributionErrorDomain Code=1 "(null)"
error: exportArchive: The operation couldn’t be completed. 
(IDEDistributionErrorDomain error 1.)

Error Domain=IDEDistributionErrorDomain Code=1 "(null)"

** EXPORT FAILED **

Failed export step
2016-11-02 10:07:04 + [MT] Step failed: : Error Domain=IDEDistributionErrorDomain Code=1 "(null)"


2016-11-02 10:07:04 + [MT] Running step: IDEDistributionSigningAssetsStep 
with 
Chain (2, self inclusive):





2016-11-02 10:07:04 + [MT] Available distribution methods: (
"",
"",
"",
""
)
2016-11-02 10:07:04 + [MT] IDEDistributionItem init 

2016-11-02 10:07:04 + [MT] Set distributionItems on context: (
"'>"
)
2016-11-02 10:07:04 + [MT] -[IDEDistributionProvisioning 
_itemToSigningInfoMap:]: Locating assets for items = (
"'>"
)
2016-11-02 10:07:04 + [MT] Disqualifying  due to certificateKind (input 
1.2.840.113635.100.6.1.2 doesn't match 1.2.840.113635.100.6.1.4)
2016-11-02 10:07:04 + [MT] -[IDEDistributionProvisioning 
_signingCertificatesApplicableForTeamID:certificateKind:isForInstaller:error:]: 
identityCertificatesMatchingKind [kind=1.2.840.113635.100.6.1.2] = (
)







-- 

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/868392c0-1b0a-4133-a712-27d2428624b0%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




-- 
Steve HannahSoftware DeveloperCodename Onehttp://www.codenameone.com




-- 
Steve HannahSoftware DeveloperCodename Onehttp://www.codenameone.com






-- 

You received this message because you are subscribed to a topic in the Google 
Groups "CodenameOne Discussions" group.

To unsubscribe from this topic, visit 

Re: [codenameone-discussions] Still problems with "iphone" target type and having to use "iphone_old"

2016-11-02 Thread mcellinpaul


In this case it's for a debug build. We obviously have app store builds too and 
do have some customer enterprise ones as well. . 


Yep I need it sorting and this info should be enough to convince  my boss give 
me time to do it!! :) 


Paul




On Wed, Nov 2, 2016 at 3:50 PM +, "Steve Hannah" 
 wrote:










In my experience, if "iphone" fails, and "iphone_old" works, you're just 
kicking the can down to runtime for a failure.  "iphone" is much more picky 
that all of the certificates, entitlements, and permissions are correct and 
consistent.  In this case it is complaining that the certificate provided in 
the wrong "kind" for the type of build you are doing.  Are you doing an ad hoc 
or enterprise build?  Is it s debug build or a release build?
Steve
On Wed, Nov 2, 2016 at 4:03 AM,   wrote:
Hi,
I am still having problems building for ios if I don't use the iphone_old 
target type. It seems to surround the signing of the app but I am using the 
same certificate and provisioning profile that works with iPhone_old. 
Any ideas what it could be? here is the end of the error log which will 
hopefully through out some clues.
Regards,
Paul
LOGNAME=administrator
_=/usr/bin/env
+ /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -exportArchive 
-archivePath ApplicationWrapper.xcarchive -exportPath 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build1347080266284814304xxx/result
 -exportOptionsPlist 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/export8364358331285155482.plist
 -verbose PROVISIONING_PROFILE=790dba8e-41b9-4541-b71a-4780864e6073 
'CODE_SIGN_IDENTITY=iPhone Distribution: eSay Solutions Limited (EA67SMA4LD)' 
KEYCHAIN=/Users/administrator/Library/Keychains/temp1478080279572.keychain 
CODE_SIGN_ENTITLEMENTS=/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/Entitlements1956301248681602482.plist
2016-11-02 05:07:05.069 xcodebuild[75594:19129460] [MT] IDEDistribution: 
-[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path 
'/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/ApplicationWrapper_2016-11-02_05-07-05.068.xcdistributionlogs'.
2016-11-02 05:07:05.096 xcodebuild[75594:19129460] [MT] DeveloperPortal: Using 
pre-existing current store at URL 
(file:///Users/administrator/Library/Developer/Xcode/DeveloperPortal%207.3.1.db).
2016-11-02 05:07:05.280 xcodebuild[75594:19129460] [MT] IDEDistribution: Step 
failed: : Error 
Domain=IDEDistributionErrorDomain Code=1 "(null)"
error: exportArchive: The operation couldn’t be completed. 
(IDEDistributionErrorDomain error 1.)

Error Domain=IDEDistributionErrorDomain Code=1 "(null)"

** EXPORT FAILED **

Failed export step
2016-11-02 10:07:04 + [MT] Step failed: : Error Domain=IDEDistributionErrorDomain Code=1 "(null)"


2016-11-02 10:07:04 + [MT] Running step: IDEDistributionSigningAssetsStep 
with 
Chain (2, self inclusive):





2016-11-02 10:07:04 + [MT] Available distribution methods: (
"",
"",
"",
""
)
2016-11-02 10:07:04 + [MT] IDEDistributionItem init 

2016-11-02 10:07:04 + [MT] Set distributionItems on context: (
"'>"
)
2016-11-02 10:07:04 + [MT] -[IDEDistributionProvisioning 
_itemToSigningInfoMap:]: Locating assets for items = (
"'>"
)
2016-11-02 10:07:04 + [MT] Disqualifying  due to certificateKind (input 
1.2.840.113635.100.6.1.2 doesn't match 1.2.840.113635.100.6.1.4)
2016-11-02 10:07:04 + [MT] -[IDEDistributionProvisioning 
_signingCertificatesApplicableForTeamID:certificateKind:isForInstaller:error:]: 
identityCertificatesMatchingKind [kind=1.2.840.113635.100.6.1.2] = (
)







-- 

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/868392c0-1b0a-4133-a712-27d2428624b0%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.




-- 
Steve HannahSoftware DeveloperCodename Onehttp://www.codenameone.com






-- 

You received this message because you are subscribed to a topic in the Google 
Groups "CodenameOne Discussions" group.

To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/codenameone-discussions/RczRNsGASyU/unsubscribe.

To unsubscribe from this group and all its topics, 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 

[codenameone-discussions] Still problems with "iphone" target type and having to use "iphone_old"

2016-11-02 Thread mcellinpaul
Hi,

I am still having problems building for ios if I don't use the iphone_old 
target type. It seems to surround the signing of the app but I am using the 
same certificate and provisioning profile that works with iPhone_old. 

Any ideas what it could be? here is the end of the error log which will 
hopefully through out some clues.

Regards,

Paul

LOGNAME=administrator
_=/usr/bin/env
+ /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -exportArchive 
-archivePath ApplicationWrapper.xcarchive -exportPath 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build1347080266284814304xxx/result
 -exportOptionsPlist 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/export8364358331285155482.plist
 -verbose PROVISIONING_PROFILE=790dba8e-41b9-4541-b71a-4780864e6073 
'CODE_SIGN_IDENTITY=iPhone Distribution: eSay Solutions Limited (EA67SMA4LD)' 
KEYCHAIN=/Users/administrator/Library/Keychains/temp1478080279572.keychain 
CODE_SIGN_ENTITLEMENTS=/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/Entitlements1956301248681602482.plist
2016-11-02 05:07:05.069 xcodebuild[75594:19129460] [MT] IDEDistribution: 
-[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path 
'/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/ApplicationWrapper_2016-11-02_05-07-05.068.xcdistributionlogs'.
2016-11-02 05:07:05.096 xcodebuild[75594:19129460] [MT] DeveloperPortal: Using 
pre-existing current store at URL 
(file:///Users/administrator/Library/Developer/Xcode/DeveloperPortal%207.3.1.db).
2016-11-02 05:07:05.280 xcodebuild[75594:19129460] [MT] IDEDistribution: Step 
failed: : Error 
Domain=IDEDistributionErrorDomain Code=1 "(null)"
error: exportArchive: The operation couldn’t be completed. 
(IDEDistributionErrorDomain error 1.)

Error Domain=IDEDistributionErrorDomain Code=1 "(null)"

** EXPORT FAILED **

Failed export step
2016-11-02 10:07:04 + [MT] Step failed: : Error Domain=IDEDistributionErrorDomain Code=1 "(null)"


2016-11-02 10:07:04 + [MT] Running step: IDEDistributionSigningAssetsStep 
with 
Chain (2, self inclusive):





2016-11-02 10:07:04 + [MT] Available distribution methods: (
"",
"",
"",
""
)
2016-11-02 10:07:04 + [MT] IDEDistributionItem init 

2016-11-02 10:07:04 + [MT] Set distributionItems on context: (
"'>"
)
2016-11-02 10:07:04 + [MT] -[IDEDistributionProvisioning 
_itemToSigningInfoMap:]: Locating assets for items = (
"'>"
)
2016-11-02 10:07:04 + [MT] Disqualifying  due to certificateKind (input 
1.2.840.113635.100.6.1.2 doesn't match 1.2.840.113635.100.6.1.4)
2016-11-02 10:07:04 + [MT] -[IDEDistributionProvisioning 
_signingCertificatesApplicableForTeamID:certificateKind:isForInstaller:error:]: 
identityCertificatesMatchingKind [kind=1.2.840.113635.100.6.1.2] = (
)


-- 
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/868392c0-1b0a-4133-a712-27d2428624b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Place your app in the app gallery, improve your Google ranking & help us improve ours

2016-11-01 Thread mcellinpaul
Hi Shai,

Application is called WorkMobile and is on the Apple App Store - the 
package name is com.esayworkmobile.workmobile.

https://itunes.apple.com/gb/app/workmobile/id398473500?mt=8

Beware an app called WorkMobile Lite - this is the old native pre 
codenameone version (Lite because by now it has less features).

Paul


>

-- 
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/c74c9be2-14f4-4799-a7cd-e9e00ca68494%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] ios 10 and camera crashing when app paused

2016-10-28 Thread mcellinpaul
Hi, I replied to an email from Steve about my original thread regarding 
this but didn't see this reply on the original message thread so thought 
I'd re-paste it here just in case. 

I have done some further investigating and created a small demo app rather 
than using the photos within my own code. I have a very simple app with a 
single class - I have pasted the class code below. I can't really create an 
app for you to run as it's apple so had to build it with my own 
certificate/provisioning profile etc.

I have a button which calls Capture.capturePhoto(); and does nothing else. 
As it is difficult to see if the app has restarted, in the init() method I 
have a label which logs the current UTC Time.

Upon running it, if I do not press the button I can go back to home screen, 
restart the app and the time displayed does not change, ie it has not 
restarted. If I take a photo, come back to the form, then even just press 
the home button then open the app again the time displayed has changed, the 
application has crashed and restarted

This is obviously more noticeable in my real app as the user gets the 
splash screen back and has to log in again and will have lost any unsaved 
work.

The sample code to test this is :-

public class MyApplication {

private Form current;
private Resources theme;

public void init(Object context) {
theme = UIManager.initFirstTheme("/theme");

// Enable Toolbar on all Forms by default
Toolbar.setGlobalToolbar(true);

// Pro only feature, uncomment if you have a pro subscription
// Log.bindCrashProtection(true);
   
Form hi = new Form("Welcome", new 
BorderLayout(BorderLayout.CENTER_BEHAVIOR_CENTER_ABSOLUTE));
final Label apple = new Label(theme.getImage("apple-icon.png"));
final Label android = new Label(theme.getImage("android-icon.png"));
final Label windows = new Label(theme.getImage("windows-icon.png"));
  
 
Calendar cal = Calendar.getInstance();
long time = cal.getTime().getTime();
Label l = new Label("Time start is " + time);
Button b1 = new Button("Take a Photo");
b1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
final String photoPath = Capture.capturePhoto();
   
}
});
hi.addComponent(BorderLayout.NORTH, l);
hi.addComponent(BorderLayout.CENTER, b1);
hi.show();
}
   
public void start() {
   
}

public void stop() {
current = Display.getInstance().getCurrent();
if(current instanceof Dialog) {
((Dialog)current).dispose();
current = Display.getInstance().getCurrent();
}
}
   
public void destroy() {
   
}

}

-- 
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/0becf212-9336-4c6b-9fee-93940a04a20d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: ios 10 and the Camera

2016-09-22 Thread mcellinpaul
Thank you. Files as #1895 

Paul

On Wednesday, September 21, 2016 at 1:09:47 PM UTC+1, mcell...@gmail.com 
wrote:

> Hi All, 
>
> I have discovered that with ios 10, if I have used Camera.capture() at any 
> point and then the screen locks (timeout or user actually locks the screen 
> with the top button) the application is killed. This happens even if a 
> photo isn't actually taken, but cancel is pressed to come back out of the 
> camera.
>
> I imagine it may be something to do with the new ios feature that allows 
> the camera to be activated from the lock screen, but there's nothing I can 
> do about it as the fix will need to be within the codename one code.
>
> Any thoughts or anyone else discovered this?
>
> Regards,
>
> Paul
>

-- 
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/cc288ccc-170c-4e24-9737-db7d69990e02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] ios 10 and the Camera

2016-09-21 Thread mcellinpaul
Hi All, 

I have discovered that with ios 10, if I have used Camera.capture() at any 
point and then the screen locks (timeout or user actually locks the screen 
with the top button) the application is killed. This happens even if a 
photo isn't actually taken, but cancel is pressed to come back out of the 
camera.

I imagine it may be something to do with the new ios feature that allows 
the camera to be activated from the lock screen, but there's nothing I can 
do about it as the fix will need to be within the codename one code.

Any thoughts or anyone else discovered this?

Regards,

Paul

-- 
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/245a4ab0-dd91-4cec-991a-a44c16f1112c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Windows Phone - error CS0170: Use of possibly unassigned field 'i'

2016-09-02 Thread mcellinpaul
Is UWP now available to use then?


On Friday, September 2, 2016 at 6:27:53 AM UTC+1, Shai Almog wrote:

> That's the old Windows phone target. I suggest targeting UWP.
>

-- 
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/6a65bb2e-5862-4787-ba09-d3e10d13c228%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Build error: export failed on iOS

2016-08-31 Thread mcellinpaul
Hi - I got this error today. Not for release builds (which I've been doing 
the last few weeks - enterprise builds) but for a debug build - so this may 
not have actually appeared today but I've only just seen it today.

I do use cn1libs - specifically the barcode one and a bouncycastle one.

Just trying to do an iPhone_old build now though it's been queued for a 
while :(

Paul

On Tuesday, August 30, 2016 at 5:16:06 AM UTC+1, Shai Almog wrote:

> Hi,
> This is related to the xcode server migration:
>
> https://www.codenameone.com/blog/xcode-migration-take-2.html
>
> Is this still happening in current builds?
> Is this working with the iphone_old builds?
>
> What can you tel us about your project? Native code, cn1libs anything 
> special?
>

-- 
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/a1efbfcc-d506-45f5-8758-47c61c63eed2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Toast notifications - text size

2016-08-25 Thread mcellinpaul


Thanks :) 





On Thu, Aug 25, 2016 at 6:30 AM +0100, "Shai Almog"  
wrote:










Hi,
the UIID is "ToastBarMessage".





-- 
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/D0181AA62D4C7997.c5e69dcc-3c62-4505-bdab-22ddab7efde7%40mail.outlook.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Toast notifications - text size

2016-08-24 Thread mcellinpaul
Hi - is there any way to change the size of text on toast notiications? in 
pad devices in particular the text seems very small. For example is there a 
UIID that can be set?

Thanks,

Paul

-- 
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/af345125-d6c3-427f-9b8b-d7570c28500c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: cn1-codescan.cn1lib ios build issue

2016-07-28 Thread mcellinpaul


Hi Shaw.  I'm using eclipse.  Turns out I had a line missing in my build. Xml 
file.  Posted this as a response back on the discussion. 


Thanks


Paul





On Thu, Jul 28, 2016 at 5:53 AM +0100, "Shai Almog"  
wrote:










Hi,
which IDE are you using?





-- 
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/D0181AA62D4C7997.0de96ae0-f51e-4639-9e75-aa1e08daf16c%40mail.outlook.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: cn1-codescan.cn1lib ios build issue

2016-07-27 Thread mcellinpaul
Hi,

Just to complete this... I have found and resolved the issue. Not sure why 
but the following was missing from my build.xml file :-

 

Thanks for the help though.

Paul

On Tuesday, July 26, 2016 at 10:42:37 AM UTC+1, mcell...@gmail.com wrote:

> Hi,
>
> I am trying to switch my barcode scanning code use the cn1-codescan.cn1lib 
> as the now deprecated code no longer seems to work. I am pretty sure I have 
> done everything correctly but I get a build error from the codename one 
> server.
>
> I have got the cn1-codescan.cn1lib file from GitHub, and placed it into my 
> projects lib folder. I have then chosen the codename one Refresh Libs 
> option and that has generated all the cs/stubs etc code in the lib/impl 
> folder. So I think this is all correct
>
> However I get the following build error from the codename one build server 
> (pasted below). Can anyone enlighten me as to what's gone wrong?
>
> Also, just to point out that the file 
> com_codename1_ext_codescan_NativeCodeScannerImpl.h that it says it can't 
> find has been generated in the lib\impl\native\ios folder. Do I need to add 
> something to build.xml to ensure that it gets uploaded to the server?
>
> Thanks in advance, 
>
> Paul
>
> CompileC 
> build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.o
>  
> ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m
>  
> normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
> cd 
> /var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist
> export LANG=en_US.US-ASCII
> export 
> PATH="/Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode6.app/Contents/Developer/usr/bin:/Users/administrator/.jenv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
> 
> /Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
>  
> -x objective-c -arch armv7 -fmessage-length=0 
> -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 
> -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers 
> -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties 
> -Werror=deprecated-objc-isa-usage -Werror=objc-root-class 
> -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces 
> -Wparentheses -Wswitch -Wunused-function -Wno-unused-label 
> -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body 
> -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants 
> -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion 
> -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof 
> -Wno-selector -Wno-strict-selector-match -Wundeclared-selector 
> -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot 
> /Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk
>  
> -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g 
> -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=5.1.1 
> -iquote 
> /var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-generated-files.hmap
>  
> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-own-target-headers.hmap
>  
> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-all-target-headers.hmap
>  
> -iquote 
> /var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-project-headers.hmap
>  
> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/Release-iphoneos/include
>  
> -I/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
>  
> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources/armv7
>  
> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources
>  
> -F/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/Release-iphoneos
>  
> -include 
> /var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/C/com.apple.DeveloperTools/6.0.1-6A317/Xcode/SharedPrecompiledHeaders/ApplicationWrapper-Prefix-fntfsatmzprngoekkhddckrvegfg/ApplicationWrapper-Prefix.pch
>  
> -MMD -MT dependencies -MF 
> 

[codenameone-discussions] Re: cn1-codescan.cn1lib ios build issue

2016-07-26 Thread mcellinpaul
Hi,

I'm still getting the error I'm afraid. The file it can't find has been 
generated into the lib/impl/native/ios folder in my project. Do I need to 
do something to ensure that this gets uploaded to the cn1 build server when 
I send a build to it? ie does it need to be included somewhere in an xml 
file or classpath?

Thanks,

Paul

CompileC 
build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.o
 
ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m
 
normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd 
/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist
export LANG=en_US.US-ASCII
export 
PATH="/Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode6.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"

/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
 
-x objective-c -arch armv7 -fmessage-length=0 
-fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 
-Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers 
-Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties 
-Werror=deprecated-objc-isa-usage -Werror=objc-root-class 
-Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces 
-Wparentheses -Wswitch -Wunused-function -Wno-unused-label 
-Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body 
-Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants 
-Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion 
-Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof 
-Wno-selector -Wno-strict-selector-match -Wundeclared-selector 
-Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot 
/Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk
 
-fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g 
-fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=5.1.1 
-iquote 
/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-generated-files.hmap
 
-I/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-own-target-headers.hmap
 
-I/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-all-target-headers.hmap
 
-iquote 
/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-project-headers.hmap
 
-I/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/Release-iphoneos/include
 
-I/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
 
-I/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources/armv7
 
-I/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources
 
-F/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/Release-iphoneos
 
-include 
/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/C/com.apple.DeveloperTools/6.0.1-6A317/Xcode/SharedPrecompiledHeaders/ApplicationWrapper-Prefix-edccnkmyuzihluhfxftwldipfqla/ApplicationWrapper-Prefix.pch
 
-MMD -MT dependencies -MF 
/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.d
 
--serialize-diagnostics 
/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.dia
 
-c 
/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m
 
-o 
/var/folders/p7/d3z112yd0156kxkm2p21p8ymgn/T/build6226209471212545441xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.o

Re: [codenameone-discussions] cn1-codescan.cn1lib ios build issue

2016-07-26 Thread mcellinpaul

Thanks Steve - I may have it though, I placed some source code out of the 
library zip into my source folder - which I shouldn't have done - I think 
this is what's causing the error rather than the library itself... when I 
can get out of meetings (and if there's time today) I shall find out. If so 
I'll confirm on here tomorrow.

Thanks for the reply though,

Paul

On Tuesday, July 26, 2016 at 5:00:31 PM UTC+1, Steve Hannah wrote:

> Try to do a Clean.  Then Refresh CN1 LIbs.  Then try a build again.  See 
> if that kick-starts it.
>
> On Tue, Jul 26, 2016 at 2:42 AM,  wrote:
>
>> Hi,
>>
>> I am trying to switch my barcode scanning code use the 
>> cn1-codescan.cn1lib as the now deprecated code no longer seems to work. I 
>> am pretty sure I have done everything correctly but I get a build error 
>> from the codename one server.
>>
>> I have got the cn1-codescan.cn1lib file from GitHub, and placed it into 
>> my projects lib folder. I have then chosen the codename one Refresh Libs 
>> option and that has generated all the cs/stubs etc code in the lib/impl 
>> folder. So I think this is all correct
>>
>> However I get the following build error from the codename one build 
>> server (pasted below). Can anyone enlighten me as to what's gone wrong?
>>
>> Also, just to point out that the file 
>> com_codename1_ext_codescan_NativeCodeScannerImpl.h that it says it can't 
>> find has been generated in the lib\impl\native\ios folder. Do I need to add 
>> something to build.xml to ensure that it gets uploaded to the server?
>>
>> Thanks in advance, 
>>
>> Paul
>>
>> CompileC 
>> build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.o
>>  
>> ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m
>>  
>> normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
>> cd 
>> /var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist
>> export LANG=en_US.US-ASCII
>> export 
>> PATH="/Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode6.app/Contents/Developer/usr/bin:/Users/administrator/.jenv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"
>> 
>> /Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
>>  
>> -x objective-c -arch armv7 -fmessage-length=0 
>> -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 
>> -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers 
>> -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties 
>> -Werror=deprecated-objc-isa-usage -Werror=objc-root-class 
>> -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces 
>> -Wparentheses -Wswitch -Wunused-function -Wno-unused-label 
>> -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body 
>> -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants 
>> -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion 
>> -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof 
>> -Wno-selector -Wno-strict-selector-match -Wundeclared-selector 
>> -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot 
>> /Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk
>>  
>> -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g 
>> -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=5.1.1 
>> -iquote 
>> /var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-generated-files.hmap
>>  
>> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-own-target-headers.hmap
>>  
>> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-all-target-headers.hmap
>>  
>> -iquote 
>> /var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-project-headers.hmap
>>  
>> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/Release-iphoneos/include
>>  
>> -I/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
>>  
>> -I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources/armv7
>>  
>> 

[codenameone-discussions] cn1-codescan.cn1lib ios build issue

2016-07-26 Thread mcellinpaul
Hi,

I am trying to switch my barcode scanning code use the cn1-codescan.cn1lib 
as the now deprecated code no longer seems to work. I am pretty sure I have 
done everything correctly but I get a build error from the codename one 
server.

I have got the cn1-codescan.cn1lib file from GitHub, and placed it into my 
projects lib folder. I have then chosen the codename one Refresh Libs 
option and that has generated all the cs/stubs etc code in the lib/impl 
folder. So I think this is all correct

However I get the following build error from the codename one build server 
(pasted below). Can anyone enlighten me as to what's gone wrong?

Also, just to point out that the file 
com_codename1_ext_codescan_NativeCodeScannerImpl.h that it says it can't 
find has been generated in the lib\impl\native\ios folder. Do I need to add 
something to build.xml to ensure that it gets uploaded to the server?

Thanks in advance, 

Paul

CompileC 
build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.o
 
ApplicationWrapper-src/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.m
 
normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd 
/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist
export LANG=en_US.US-ASCII
export 
PATH="/Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode6.app/Contents/Developer/usr/bin:/Users/administrator/.jenv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin"

/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
 
-x objective-c -arch armv7 -fmessage-length=0 
-fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 
-Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers 
-Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties 
-Werror=deprecated-objc-isa-usage -Werror=objc-root-class 
-Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wno-missing-braces 
-Wparentheses -Wswitch -Wunused-function -Wno-unused-label 
-Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body 
-Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants 
-Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion 
-Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof 
-Wno-selector -Wno-strict-selector-match -Wundeclared-selector 
-Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot 
/Applications/Xcode6.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.0.sdk
 
-fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g 
-fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=5.1.1 
-iquote 
/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-generated-files.hmap
 
-I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-own-target-headers.hmap
 
-I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-all-target-headers.hmap
 
-iquote 
/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/ApplicationWrapper-project-headers.hmap
 
-I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/Release-iphoneos/include
 
-I/Applications/Xcode6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
 
-I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources/armv7
 
-I/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/DerivedSources
 
-F/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/Release-iphoneos
 
-include 
/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/C/com.apple.DeveloperTools/6.0.1-6A317/Xcode/SharedPrecompiledHeaders/ApplicationWrapper-Prefix-fntfsatmzprngoekkhddckrvegfg/ApplicationWrapper-Prefix.pch
 
-MMD -MT dependencies -MF 
/var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build7058000107000510609xxx/dist/build/ApplicationWrapper.build/Release-iphoneos/ApplicationWrapper.build/Objects-normal/armv7/native_com_codename1_ext_codescan_NativeCodeScannerImplCodenameOne.d
 
--serialize-diagnostics 

[codenameone-discussions] Toolbar on the Desktop version

2016-06-08 Thread mcellinpaul
Hi,

I've been having a play around with the desktop version - which is nice - 
but it doesn't seem to have an icon for the hamburger menu or the overflow 
menu. I'm building against version 3.4. Is there anything I need to do (my 
forms have a white background) or anyway I can get it to use an image of my 
own? Looking at the source there's no easy way for me to subclass the 
Toolbar classes and even if I could I'd prefer to avoid that.

Thanks,

Paul

-- 
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/01ef9c84-43c8-4b64-83fb-2a7325628ca1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.