Xcode-7, Could not build Module <IBMMobileFirstFoundation> - xcode

I am facing an issue, related to cordova ios build using Xcode-7.
when I create fresh project on mac machine, I am able to build and run that on simulator ios 6s. But When I try to import the project built on windows machine to mac, I am not able to build it succesfully.
***Error:*
could not build module "IBMMobileFirstPlatformFoundation".
**
*Configuration on windows:
cordova 6.5.0
ionic 3.3.0
node 6.10.3
ios platform version is 4.4.0
npm version is 3.10.10
*
*configuration on mac machine
cordova 6.5.0
ionic 3.3.0
node 6.11
ios platform version is 4.4.0
npm version is 3.10.10
*
Xcode is 7.
thank you for kind attention, kindly suggest me what I doing wrong.
:)

After one week R&D, I found the the answer to the problem, there was the problem of Xcode version, I just updated the OS version and also the Xcode version. Later On I came to know that problem was cordova and ionic version also. I update the cordova version to 7.2.0 and ionic version to 3.4.0.
I have build the app and its running fine, with some UI issues.
also use ionic cordova build to build the project.
thank you.

Related

Xcode XCBuild support error for ionic build

I have a ionic project that I am trying to build on iOS.
When running ionic build ios, it gives this error:
FIXME: Implement XCBuild support for macros in overriding parameters
with condition sets:
CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer
Error: Error code 1 for command: xcodebuild with args:
-xcconfig,/Users/Person/ProjectA/platforms/ios/cordova/build-debug.xcconfig,-project,ProjectA.xcodeproj,ARCHS=i386,-target,ProjectA,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/Person/ProjectA/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/Person/ProjectA/platforms/ios/build/sharedpch
I have tried:
Remove platform and add platform
Change CODE_SIGN_IDENTITY[sdk=iphoneos*] from iPhone Distributor to iPhone Developer in build-release.xcconfig
Re-did signing from xcode to try both automatic and manual signing
but all were not successful.
I am running:
Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.4
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.0.0-beta.20
ios-deploy version: 1.9.4
ios-sim version: 5.0.8
Node Version: v4.4.7
Xcode version: Xcode 11.1 Build version 11A1027
It is an old ionic version but able to run on my old macbook air (OS: High Sierra). I am now using a new macbook air (OS: Mojave) and trying to setup the environment.
Any suggestions?
I was getting this error after re-adding the iOS platform to my project with cordova#8.1.2/cordova-ios#4.5.4, even with a build.json file included in my project. I manually upgraded to cordova-ios#5.1.1 (by specifying the version in the cordova platforms add ios#5 command) and the error went away.

Ionic 4 => OSX platform

I am working on an ionic 4 project and want to generate a version for the OSX platform.
I have successfully add the platform and build the project for this platform after upgrading to the last cordova version.
Now, i run the project for the OSX platform and i only get a black screen.
I had the information that we cannot generate a version of the ionic project for the OSX platform but after successed to add the platform i think that there are some new corrections in the cordova or ionic in recente version that my solve the problem.
Have any one encountred this kind of problem?
bellow is a config.xml file
https://github.com/zainebzaineb/project-ionic-osx/blob/master/config.xml
bellow is a package-lock.json file
https://github.com/zainebzaineb/project-ionic-osx/blob/master/package-lock.json
bellow is a package.json file
https://github.com/zainebzaineb/project-ionic-osx/blob/master/package.json
or can anyone help me get over this issue?
thanks in advance

Supported cordova version for xcode 7.2.1

I'm using XCode 7.2.1 to compile my ionic app. The problem is, if I'm using the latest cordova, it will display this error
GCDWebServerDataRequest.m - No visible #interface for 'NSDATA' declares the selector 'appendData:'
I googled and found the error is because I'm not using the latest XCode. However, I can't install the latest XCode because of insufficient storage space in my MacBook (can't upgrade my OSX). Furthermore, I believe I don't need to have the latest XCode, since I won't be distributing the compiled app in App Store later; I will only distribute it in my company's internal App Store.
So where can I get the info on which cordova is supported for XCode 7.2.1? Later I believe I can just install the supported cordova version by running sudo npm install -g cordova#[version] right?
Thanks

upgrading cordova fails (Node 6.9.1 , OSX El Capitan)

Upgrading Ionic from CLI 1.7.16 to 2.X finished successfully but it asks for Cordova to be upgraded too. All my attempts to upgrade cordova fail: "npn install -g cordova" fails with error in a package called "abbrev" . See screenshot below.
I am on newest Node (v6.9.1 as recommended by Ionic, npm v3.10.8), Mac OSX El Capitan with 16GB of ram.
Any ideas what may be wrong and how to overcome that?
Thanks much !!
Zvi
problem solved. It was a conflict with an older version of cordova that didn't get removed in the installation process. Removing it manually, then installing cordova, solved the problem.

Meteor CordovaLib version

I need to use latest Cordova lib to build project. However, if I start build it for device, in Xcode under my project root I see CortovaLib.xcodeproj with VERSION 3.5.0 (latest on this time is 3.8.0, and what I really need is at least 3.7.0). What I tried is npm install -g cordova and meteor remove/add platform.
Have I possibility to choose cordova lib if I use meteor toolkit, or should I wait for meteor updates?
In the next release of meteor they are upgrading the Cordova CLI dependency from 3.5.1 to 4.2.0. You can read more about the specifics v.Next. As far as I know there is not an official release date set.

Resources