function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dhaval PanchalDhaval Panchal 

"npm install forceios" not working in windows 7

Hi,

 

I am trying to install iOS SDK on windows 7 plateform. I have installed node on my system (as per instruction on http://www2.developerforce.com/en/mobile/getting-started/ios). No I am trying to run below command on command promt.

 

>npm install forceios

 

I am getting below result.

 

npm http GET https://registry.npmjs.org/forceios
npm http 304 https://registry.npmjs.org/forceios
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: force
ios@2.0.3
npm ERR! notsup Valid OS:    darwin
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: ia32

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "forceios"
npm ERR! cwd E:\Salesforce\iOS Integratation\SalesforceMobileSDK-iOS-master
npm ERR! node -v v0.10.18
npm ERR! npm -v 1.3.8
npm ERR! code EBADPLATFORM
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     E:\Salesforce\iOS Integratation\SalesforceMobileSDK-iOS-master\npm-
debug.log

 Not able to find any solution for this error. Also tried to remove os dependency (as per https://github.com/dmcquay/node-apac/pull/32 ) but i didn't find os list in package.json file.

 

Anybody have idea how to install forceios on windows 7 plateform?

 

Best Answer chosen by Admin (Salesforce Developers) 
bhariharanbhariharan
forceios is not supported on any OS other than Mac OS X. Windows is not
supported.



--
Sent from my iPhone

All Answers

bhariharanbhariharan
forceios is not supported on any OS other than Mac OS X. Windows is not
supported.



--
Sent from my iPhone
This was selected as the best answer
Dhaval PanchalDhaval Panchal
Thanks Bhariharan,

Do you have any idea how to install iOS SDK on windows 7?
Gaurav KheterpalGaurav Kheterpal

@dapanchal - You can NOT install iOS SDK on Windows 7 (or any version of Windows for that matter). You need a Mac OS machine to use the Apple iOS SDK.

 

Hope this helps.

Dhaval PanchalDhaval Panchal
@gaurav: Means i want to develop one sample app but for that i need to have mac machine right?
Gaurav KheterpalGaurav Kheterpal

Yes, if you are creating a native iOS app using the Apple iOS SDK. There are other ways to build iOS apps as well but Apple recommends you use its native toolchain. You may want to search around on the Internet a bit more - this info is readily availalbe.

Dhaval PanchalDhaval Panchal
Thanks Gaurav