Error when building IOS Native app

Hi I experience this kind of error when generating native app for IOS

[2018-09-20T08:34:45.619Z] [INFO] Start processing job request...
[2018-09-20T08:34:45.623Z] [INFO] Start generating application...
[2018-09-20T08:34:45.623Z] [INFO] Nativizer version: 1.1.x
[2018-09-20T08:34:45.624Z] [INFO] Template version: 3.2.1
[2018-09-20T08:34:45.625Z] [INFO] Build features: cordovaNoFetch - true
[2018-09-20T08:34:45.625Z] [INFO] Build features: templateVersion - 3.2.1
[2018-09-20T08:34:45.625Z] [INFO] Creating a temporary folder for the application...
[2018-09-20T08:34:45.625Z] [INFO] Creating the required directory structure for your cordova application...
[2018-09-20T08:34:50.834Z] [INFO] Getting application resources...
[2018-09-20T08:34:50.857Z] [INFO] Processing application resources...
[2018-09-20T08:34:51.062Z] [INFO] Generating application assets...
[2018-09-20T08:34:52.263Z] [INFO] Applying configurations in the config.xml file...
[2018-09-20T08:34:52.299Z] [INFO] Applying advanced configurations in the config.xml file...
[2018-09-20T08:34:52.299Z] [INFO] Applying custom application icons...
[2018-09-20T08:34:52.312Z] [INFO] Applying custom application splashscreens...
[2018-09-20T08:34:52.312Z] [INFO] Applying application preferences...
[2018-09-20T08:34:52.316Z] [INFO] Writing your cordova preferences...
[2018-09-20T08:34:52.316Z] [INFO] Applying application accessList...
[2018-09-20T08:34:52.316Z] [INFO] Adding target platform...
[2018-09-20T08:35:26.889Z] [INFO] Applying plugins in the config.xml file...
[2018-09-20T08:35:26.889Z] [INFO] Plugin Id: https://github.com/OutSystems/csZBar.git#v1.3.3.OS
[2018-09-20T08:35:26.889Z] [INFO] Plugin Action: add
[2018-09-20T08:35:32.456Z] [INFO] Plugin Id: https://github.com/OutSystems/cordova-plugin-fingerprint.git#1.0.2
[2018-09-20T08:35:32.456Z] [INFO] Plugin Action: add
[2018-09-20T08:35:36.192Z] [INFO] Plugin Id: https://github.com/OutSystems/OneSignal-Cordova-SDK.git#2.3.2-OS2
[2018-09-20T08:35:36.192Z] [INFO] Plugin Action: add
[2018-09-20T08:35:45.417Z] [INFO] Plugin Id: https://github.com/OutSystems/cordova-plugin-secure-storage.git#v2.6.3
[2018-09-20T08:35:45.417Z] [INFO] Plugin Action: add
[2018-09-20T08:35:47.831Z] [INFO] Getting signing keys...
[2018-09-20T08:35:47.854Z] [INFO] Building application package...
[2018-09-20T08:36:42.707Z] [ERROR]   remote: Counting objects: 38          
  remote: Counting objects: 349, done.      
  remote: Compressing objects:   0% (1/261)          
  remote: Compressing objects:   1% (3/261)          
  remote: Compressing objects:   2% (6/261)          
  remote: Compressing objects:   3% (8/261)          
  remote: Compressing objects:   4% (11/261)          
  remote: Compressing objects:   5% (14/261)          
  remote: Compressing objects:   6% (16/261)          
  remote: Compressing objects:   7% (19/261)          
  remote: Compressing objects:   8% (21/261)          
  remote: Compressing objects:   9% (24/261)          
  remote: Compressing objects:  10% (27/261)          
  remote: Compressing objects:  11% (29/261)          
  remote: Compressing objects:  12% (32/261)          
  remote: Compressing objects:  13% (34/261)          
  remote: Compressing objects:  14% (37/261)          
  remote: Compressing objects:  15% (40/261)          
  remote: Compressing objects:  16% (42/261)          
  remote: Compressing objects:  17% (45/261)          
  remote: Compressing objects:  18% (47/261)          
  remote: Compressing objects:  19% (50/261)          
  remote: Compressing objects:  20% (53/261)          
  remote: Compressing objects:  21% (55/261)          
  remote: Compressing objects:  22% (58/261)          
  remote: Compressing objects:  23% (61/261)          
  remote: Compressing objects:  24% (63/261)          
  remote: Compressing objects:  25% (66/261)          
  remote: Compressing objects:  26% (68/261)          
  remote: Compressing objects:  27% (71/261)          
  remote: Compressing objects:  28% (74/261)          
  remote: Compressing objects:  29% (76/261)          
  remote: Compressing objects:  30% (79/261)          
  remote: Compressing objects:  31% (81/261)          
  remote: Compressing objects:  32% (84/261)          
  remote: Compressing objects:  33% (87/261)          
  remote: Compressing objects:  34% (89/261)          
  remote: Compressing objects:  35% (92/261)          
  remote: Compressing objects:  36% (94/261)          
  remote: Compressing objects:  37% (97/261)          
  remote: Compressing objects:  38% (100/261)          
  remote: Compressing objects:  39% (102/261)          
  remote: Compressing objects:  40% (105/261)          
  remote: Compressing objects:  41% (108/261)          
  remote: Compressing objects:  42% (110/261)          
  remote: Compressing objects:  43% (113/261)          
  remote: Compressing objects:  44% (115/261)          
  remote: Compressing objects:  45% (118/261)          
  remote: Compressing objects:  46% (121/261)          
  remote: Compressing objects:  47% (123/261)          
  remote: Compressing objects:  48% (126/261)          
  remote: Compressing objects:  49% (128/261)          
  remote: Compressing objects:  50% (131/261)          
  remote: Compressing objects:  51% (134/261)          
  remote: Compressing objects:  52% (136/261)          
  remote: Compressing objects:  53% (139/261)          
  remote: Compressing objects:  54% (141/261)          
  remote: Compressing objects:  55% (144/261)          
  remote: Compressing objects:  56% (147/261)          
  remote: Compressing objects:  57% (149/261)          
  remote: Compressing objects:  58% (152/261)          
  remote: Compressing objects:  59% (154/261)          
  remote: Compressing objects:  60% (157/261)          
  remote: Compressing objects:  61% (160/261)          
  remote: Compressing objects:  62% (162/261)          
  remote: Compressing objects:  63% (165/261)          
  remote: Compressing objects:  64% (168/261)          
  remote: Compressing objects:  65% (170/261)          
  remote: Compressing objects:  66% (173/261)          
  remote: Compressing objects:  67% (175/261)          
  remote: Compressing objects:  68% (178/261)          
  remote: Compressing objects:  69% (181/261)          
  remote: Compressing objects:  70% (183/261)          
  remote: Compressing objects:  71% (186/261)          
  remote: Compressing objects:  72% (188/261)          
  remote: Compressing objects:  73% (191/261)          
  remote: Compressing objects:  74% (194/261)          
  remote: Compressing objects:  75% (196/261)          
  remote: Compressing objects:  76% (199/261)          
  remote: Compressing objects:  77% (201/261)          
  remote: Compressing objects:  78% (204/261)          
  remote: Compressing objects:  79% (207/261)          
  remote: Compressing objects:  80% (209/261)          
  remote: Compressing objects:  81% (212/261)          
  remote: Compressing objects:  82% (215/261)          
  remote: Compressing objects:  83% (217/261)          
  remote: Compressing objects:  84% (220/261)          
  remote: Compressing objects:  85% (222/261)          
  remote: Compressing objects:  86% (225/261)          
  remote: Compressing objects:  87% (228/261)          
  remote: Compressing objects:  88% (230/261)          
  remote: Compressing objects:  89% (233/261)          
  remote: Compressing objects:  90% (235/261)          
  remote: Compressing objects:  91% (238/261)          
  remote: Compressing objects:  92% (241/261)          
  remote: Compressing objects:  93% (243/261)          
  remote: Compressing objects:  94% (246/261)          
  remote: Compressing objects:  95% (248/261)          
  remote: Compressing objects:  96% (251/261)          
  remote: Compressing objects:  97% (254/261)          
  remote: Compressing objects:  98% (256/261)          
  remote: Compressing objects:  99% (259/261)          
  remote: Compressing objects: 100% (261/261)          
  remote: Compressing objects: 100% (261/261), done.      
  Receiving objects:   0% (1/349)  
  Receiving objects:   1% (4/349)  
  Receiving objects:   2% (7/349)  
  Receiving objects:   3% (11/349)  
  Receiving objects:   4% (14/349)  
  Receiving objects:   5% (18/349)  
  Receiving objects:   6% (21/349)  
  Receiving objects:   7% (25/349)  
  Receiving objects:   8% (28/349)  
  Receiving objects:   9% (32/349)  
  Receiving objects:  10% (35/349)  
  Receiving objects:  11% (39/349)  
  Receiving objects:  12% (42/349)  
  Receiving objects:  13% (46/349)  
  Receiving objects:  14% (49/349)  
  Receiving objects:  15% (53/349)  
  Receiving objects:  16% (56/349)  
  Receiving objects:  17% (60/349)  
  Receiving objects:  18% (63/349)  
  Receiving objects:  19% (67/349)  
  Receiving objects:  20% (70/349)  
  Receiving objects:  21% (74/349)  
  Receiving objects:  22% (77/349)  
  Receiving objects:  23% (81/349)  
  Receiving objects:  24% (84/349)  
  Receiving objects:  25% (88/349)  
  Receiving objects:  26% (91/349)  
  Receiving objects:  27% (95/349)  
  Receiving objects:  28% (98/349)  
  Receiving objects:  29% (102/349)  
  Receiving objects:  30% (105/349)  
  Receiving objects:  31% (109/349)  
  Receiving objects:  32% (112/349)  
  Receiving objects:  33% (116/349)  
  Receiving objects:  34% (119/349)  
  Receiving objects:  35% (123/349)  
  Receiving objects:  36% (126/349)  
  Receiving objects:  37% (130/349)  
  Receiving objects:  38% (133/349)  
  Receiving objects:  39% (137/349)  
  Receiving objects:  40% (140/349)  
  Receiving objects:  41% (144/349)  
  Receiving objects:  42% (147/349)  
  Receiving objects:  43% (151/349)  
  Receiving objects:  44% (154/349)  
  Receiving objects:  45% (158/349)  
  Receiving objects:  46% (161/349)  
  Receiving objects:  47% (165/349)  
  Receiving objects:  48% (168/349)  
  Receiving objects:  49% (172/349)  
  Receiving objects:  50% (175/349)  
  Receiving objects:  51% (178/349)  
  Receiving objects:  52% (182/349)  
  Receiving objects:  53% (185/349)  
  Receiving objects:  54% (189/349)  
  Receiving objects:  55% (192/349)  
  Receiving objects:  56% (196/349)  
  Receiving objects:  57% (199/349)  
  Receiving objects:  58% (203/349)  
  Receiving objects:  59% (206/349)  
  Receiving objects:  60% (210/349)  
  Receiving objects:  61% (213/349)  
  Receiving objects:  62% (217/349)  
  Receiving objects:  63% (220/349)  
  Receiving objects:  64% (224/349)  
  Receiving objects:  65% (227/349)  
  Receiving objects:  66% (231/349)  
  Receiving objects:  67% (234/349)  
  Receiving objects:  68% (238/349)  
  Receiving objects:  69% (241/349)  
  Receiving objects:  70% (245/349)  
  Receiving objects:  71% (248/349)  
  Receiving objects:  72% (252/349)  
  remote: Total 349 (delta 127), reused 40 (delta 40), pack-reused 38      
  Receiving objects:  73% (255/349)  
  Receiving objects:  74% (259/349)  
  Receiving objects:  75% (262/349)  
  Receiving objects:  76% (266/349)  
  Receiving objects:  77% (269/349)  
  Receiving objects:  78% (273/349)  
  Receiving objects:  79% (276/349)  
  Receiving objects:  80% (280/349)  
  Receiving objects:  81% (283/349)  
  Receiving objects:  82% (287/349)  
  Receiving objects:  83% (290/349)  
  Receiving objects:  84% (294/349)  
  Receiving objects:  85% (297/349)  
  Receiving objects:  86% (301/349)  
  Receiving objects:  87% (304/349)  
  Receiving objects:  88% (308/349)  
  Receiving objects:  89% (311/349)  
  Receiving objects:  90% (315/349)  
  Receiving objects:  91% (318/349)  
  Receiving objects:  92% (322/349)  
  Receiving objects:  93% (325/349)  
  Receiving objects:  94% (329/349)  
  Receiving objects:  95% (332/349)  
  Receiving objects:  96% (336/349)  
  Receiving objects:  97% (339/349)  
  Receiving objects:  98% (343/349)  
  Receiving objects:  99% (346/349)  
  Receiving objects: 100% (349/349)  
  Receiving objects: 100% (349/349), 78.97 KiB | 9.87 MiB/s, done.
  Resolving deltas:   0% (0/135)  
  Resolving deltas:   1% (2/135)  
  Resolving deltas:  13% (18/135)  
  Resolving deltas:  17% (24/135)  
  Resolving deltas:  20% (28/135)  
  Resolving deltas:  25% (34/135)  
  Resolving deltas:  29% (40/135)  
  Resolving deltas:  33% (45/135)  
  Resolving deltas:  37% (51/135)  
  Resolving deltas:  40% (54/135)  
  Resolving deltas:  44% (60/135)  
  Resolving deltas:  48% (66/135)  
  Resolving deltas:  51% (69/135)  
  Resolving deltas:  54% (73/135)  
  Resolving deltas:  57% (77/135)  
  Resolving deltas:  59% (80/135)  
  Resolving deltas:  61% (83/135)  
  Resolving deltas:  63% (86/135)  
  Resolving deltas:  64% (87/135)  
  Resolving deltas:  65% (88/135)  
  Resolving deltas:  68% (92/135)  
  Resolving deltas:  69% (94/135)  
  Resolving deltas:  70% (95/135)  
  Resolving deltas:  74% (101/135)  
  Resolving deltas:  76% (103/135)  
  Resolving deltas:  77% (105/135)  
  Resolving deltas:  78% (106/135)  
  Resolving deltas:  79% (107/135)  
  Resolving deltas:  80% (108/135)  
  Resolving deltas:  81% (110/135)  
  Resolving deltas:  82% (112/135)  
  Resolving deltas:  84% (114/135)  
  Resolving deltas:  85% (115/135)  
  Resolving deltas:  86% (117/135)  
  Resolving deltas:  87% (118/135)  
  Resolving deltas:  88% (119/135)  
  Resolving deltas:  89% (121/135)  
  Resolving deltas:  90% (122/135)  
  Resolving deltas:  91% (123/135)  
  Resolving deltas:  92% (125/135)  
  Resolving deltas:  93% (126/135)  
  Resolving deltas:  94% (127/135)  
  Resolving deltas:  95% (129/135)  
  Resolving deltas:  96% (130/135)  
  Resolving deltas:  97% (132/135)  
  Resolving deltas:  98% (133/135)  
  Resolving deltas:  99% (134/135)  
  Resolving deltas: 100% (135/135)  
  Resolving deltas: 100% (135/135), completed with 29 local objects.
  From https://github.com/CocoaPods/Specs
     d20d336a607..3c41a821ece  master     -> origin/master

** ARCHIVE FAILED **


The following build commands failed:
 CompileAssetCatalog /Users/mabs01/Library/Developer/Xcode/DerivedData/Florida_Hospital_Tampa_Mobile-dfjeafyldesdllfepffbduxtsqld/Build/Intermediates.noindex/ArchiveIntermediates/Florida\ Hospital\ Tampa\ Mobile/InstallationBuildProductsLocation/Applications/Florida\ Hospital\ Tampa\ Mobile.app Florida\ Hospital\ Tampa\ Mobile/Images.xcassets
(1 failure)
/tmp/build/source/platforms/ios/build/sharedpch

[2018-09-20T08:36:42.707Z] [ERROR] Build failed with the following error: An unexpected error has occurred while generating your application. Please try again. If the problem persists, contact OutSystems Support.
[2018-09-20T08:36:42.707Z] [INFO] Zipping application source...
[2018-09-20T08:36:56.217Z] [INFO] Application was not successfully generated!
[2018-09-20T08:36:56.219Z] [INFO] Execution time: 130670ms


Hi,

Looks like there is some kind of failure compiling the assetcatalog for your iOS app. Have you added exotic image formats inside the app? My advice is to build the app without any images to check if there's something wrong in your assets.

Regards,
Jasper

Jasper Oudenaarden wrote:

Hi,

Looks like there is some kind of failure compiling the assetcatalog for your iOS app. Have you added exotic image formats inside the app? My advice is to build the app without any images to check if there's something wrong in your assets.

Regards,
Jasper

Hi all of the images are being used the one that concerns me is the icon based on other forums that I've read but I already followed changing the extensibility configurations


Solution

I was able to resolve this by changing the icon from jpg to png

Solution

Hello,

I'm experiencing something similar.

It says to check dependencies but I've already refreshed everything and the error is always the same.


[2019-06-19T14:07:15.263Z]
[INFO] Start processing job request...
[2019-06-19T14:07:15.268Z]
[INFO] Start generating application...
[2019-06-19T14:07:15.268Z]
[INFO] Template version: 4.2.3
[2019-06-19T14:07:15.269Z]
[INFO] Build features: cordovaNoFetch - true
[2019-06-19T14:07:15.269Z]
[INFO] Build features: buildTimeout - 20
[2019-06-19T14:07:15.269Z]
[INFO] Creating a temporary folder for the application...
[2019-06-19T14:07:15.269Z]
[INFO] Creating the required directory structure for your cordova application...
[2019-06-19T14:07:21.593Z]
[INFO] Getting application resources...
[2019-06-19T14:07:21.604Z]
[INFO] Processing application resources...
[2019-06-19T14:07:21.896Z]
[INFO] Generating application assets...
[2019-06-19T14:07:24.497Z]
[INFO] Applying configurations in the config.xml file...
[2019-06-19T14:07:24.505Z]
[INFO] Applying advanced configurations in the config.xml file...
[2019-06-19T14:07:24.506Z]
[INFO] Applying custom application icons...
[2019-06-19T14:07:24.506Z]
[INFO] Applying custom application splashscreens...
[2019-06-19T14:07:24.506Z]
[INFO] Applying application preferences...
[2019-06-19T14:07:24.507Z]
[INFO] Applying application accessList...
[2019-06-19T14:07:24.507Z]
[INFO] Adding target platform...
[2019-06-19T14:08:09.037Z]
[INFO] Applying plugins in the config.xml file...
[2019-06-19T14:08:09.037Z]
[INFO] Plugin Id: https://github.com/OutSystems/cordova-plugin-camera#4.0.3-OS2
[2019-06-19T14:08:09.037Z]
[INFO] Plugin Action: add
[2019-06-19T14:08:12.428Z] [INFO] Getting signing keys...
[2019-06-19T14:08:12.433Z]
[INFO] Building application package...
[2019-06-19T14:09:28.952Z] [ERROR]  
remote: Enumerating objects: 1            
remote: Enumerating objects: 15, done.        
 
remote: Counting objects:   6% (1/15)            
remote: Counting objects:  13% (2/15)            
remote: Counting objects:  20% (3/15)            
remote: Counting objects:  26% (4/15)            
remote: Counting objects:  33% (5/15)            
remote: Counting objects:  40% (6/15)            
remote: Counting objects:  46% (7/15)            
remote: Counting objects:  53% (8/15)            
remote: Counting objects:  60% (9/15)            
remote: Counting objects:  66% (10/15)            
remote: Counting objects:  73% (11/15)            
remote: Counting objects:  80% (12/15)            
remote: Counting objects:  86% (13/15)            
remote: Counting objects:  93% (14/15)            
remote: Counting objects: 100% (15/15)            
remote: Counting objects: 100% (15/15), done.        
 
remote: Compressing objects:  11% (1/9)            
remote: Compressing objects:  22% (2/9)            
remote: Compressing objects:  33% (3/9)            
remote: Compressing objects:  44% (4/9)            
remote: Compressing objects:  55% (5/9)            
remote: Compressing objects:  66% (6/9)            
remote: Compressing objects:  77% (7/9)            
remote: Compressing objects:  88% (8/9)            
remote: Compressing objects: 100% (9/9)            
remote: Compressing objects: 100% (9/9), done.        
 
remote: Total 9 (delta 6), reused 2 (delta 0), pack-reused 0        
 
From https://github.com/CocoaPods/Specs
     
1bc005adc56..108ae046af3  master     -> origin/master

** ARCHIVE FAILED **


The following build commands failed:

Check dependencies
(1 failure)
/tmp/build/source/platforms/ios/build/sharedpch,-UseModernBuildSystem=0

[2019-06-19T14:09:28.952Z]
[ERROR] Build failed with the following error: An unexpected error has occurred while generating your application.
Please try again. If the problem persists, contact OutSystems Support.

[2019-06-19T14:09:28.952Z]
[INFO] Zipping application source...
[2019-06-19T14:09:37.208Z]
[INFO] Application was not successfully generated!
[2019-06-19T14:09:37.222Z]
[INFO] Execution time: 142828ms