Questions tagged [winobjc]

Windows Bridge for iOS (also referred to as WinObjC) is a Microsoft open source project that provides an Objective-C development environment for Visual Studio/Windows. In addition, WinObjC provides support for iOS API compatibility.

Getting started with WinObjC

To use WinObjC, there are a few requirements. You need: - Windows 10 - Visual Studio 2015 with Windows developer tools. Visual Studio 2015 Community is available for free here. Select (at least) the following components during installation:

1. Programming Languages -> Visual C++

2. Universal Windows App Development Tools (all)

3. Windows 8.1 and Windows Phone 8.0/8.1 Tools (all)

The best way to get started with WinObjC is to run one of the samples. We recommend starting with the WOCCatalog sample app, which demonstrates an assortment of iOS and XAML UI controls. To run the sample:

  1. Extract the SDK zip file to a local directory

  2. Navigate to winobjc/samples/WOCCatalog in the extracted directory

  3. Double-click on WOCCatalog-WinStore10.sln to open in VS2015

  4. In VS2015 right-click on the WOCCatalog (Universal Windows) project

  5. Select Set as StartUp project

  6. Use Ctrl-F5 to build and run the app

For guidance about importing your own Xcode project and other Windows Bridge for iOS SDK details, see the wiki

35 questions
1
vote
2 answers

How to convert Objective C project to Windows Mobile

I am working on hybrid app majorly built on HTML5, CSS3, javascript and wrapped over PhoneGap to create apk, ipa and xap/appx file. With the latest Microsoft announcements, its possible to convert your iOS project to Windows project. Can anyone give…
1
vote
1 answer

Converting IOS project that contains thirdparty frameworks resulting in compilation error

I tried to convert MY IOS project that use CocoaPods and thrid party frameworks like Facebook sdk Fabric SDK etc, using WInObjc. When I try to run the project it is throwing error. When I try a simple hello world project it succeeds. Is complex…
arundevma
  • 933
  • 7
  • 24
1
vote
1 answer

glGenVertexArrays and glDeleteVertexArrays not resolved for Windows

I am trying to port iOS projects to Windows 10 using Windows Bridge for iOS. But I am stuck to the unresolved functions of glGenVertexArrays, glBindVertexArray, and glDeleteVertexArrays. The original iOS project is a Cocos2d 2.x project. I am not…
shenzyapp
  • 29
  • 2
0
votes
1 answer

Unknown Objective-C runtime 'microsoft'

I'm trying to compile an app with WinObjC. I'm using Visual Studio 2017 version 15.7.6 and WinObjC prerelease v0.2.180221 from NuGet. The very first source file it tries to compile, and every subsequent one fails with the error message: clang.exe :…
marczellm
  • 1,224
  • 2
  • 18
  • 42
0
votes
0 answers

How can I link a static library developed in iOS to an UWP .NET Project

I have a .a static library developed in Objective-C and built for iOS. Let's call it Encoders.a. I have been able to import such library as a project into Visual Studio 2017 using the vsimporter tool of the iOS Bridge…
Cristiano Ghersi
  • 1,944
  • 1
  • 20
  • 46
0
votes
1 answer

WPF: How to Style my form with Transperancy levels

I want to implement this kind of Window: So currently i have this Style :
Dal Raz
  • 19
  • 1
  • 7
0
votes
0 answers

Not found 'AppKit/AppKit.h' when build converted iOS project using Windows Bridge for iOS

With Windows Bridge for iOS, I converted my iOS project to Windows App using vsimporter (follow Microsoft's guide: https://github.com/Microsoft/WinObjC) But when I try to build the project, It shows Fatal Error: 'AppKit/AppKit.h' file not found…
The Anh Nguyen
  • 748
  • 2
  • 11
  • 27
0
votes
1 answer

Can WinObjC apps run on iPhones?

I know that this is really basic, but since this is a new tag and technology, I hope you'll permit the question. Having just discovered the existence of WinObjC (the Windows Bridge for iOS project) I want to understand what I can do with this before…
Hack-R
  • 22,422
  • 14
  • 75
  • 131
0
votes
1 answer

use of undeclared identifier 'GMSServices' in Visual Studio 2015 in WinObjC

I used pod in my objective-c code. But when I Use this code to visual studio at that time it give errors : 1) use of undeclared identifier 'GMSServices' 2) expected identifier or '(' \Pods\Headers\Public\GoogleMaps\GoogleMaps\GoogleMaps.h But when I…
user5872894
0
votes
1 answer

WinObjC: How to know what cocoa frameworks are supported / handled?

Trying to bridge my iOS application to W10 app using WinObjC which looks nice (but still a preview) My iOS app is using CommonCryptor for encryption purpose. When I try to build my freshly imported app in Visual Studio I got an error related to…
ennzhed
  • 186
  • 2
  • 13
0
votes
1 answer

Can i open the source code of windows bridge for ios in visual studio?

I have downloaded the source code of bridge from https://github.com/Microsoft/WinObjC/releases but with the help of vsimporter i can create a solution of ios project and then i can open that in visual studio, but can i open the bridge source code…
Kevin
  • 1
  • 1
0
votes
1 answer

How to check what frameworks and methods supported by winobjc

I tried to port a sample iOS app with a UITableView to Windows 10. In which it tries to display 100 rows with each row contains label with value as row number. Here is the code UILabel *label = (UILabel*)[cell viewWithTag:1]; label.text = [NSString…
0
votes
0 answers

WinObjC indows VM vsimporter not supported

When I run vsimporter on my Windows VM 10 command line (cmd.exe) I have a message telling me the following This application cannot be executed on your PC
JHT
  • 9
  • 5
0
votes
1 answer

Build WinObjC app on Linux

Currently I am using Ubuntu linux and I want to create a WinObjC app on Linux plateform. Is there any way to create WinObj apps on linux.
Umer Farooq
  • 583
  • 3
  • 17
0
votes
2 answers

WinObjC in Macbook

The prerequisite to work with BridgeiOS is to have windows 10 and latest visual studio. Is there a way we can develop it in Macbook?
nOOb iOS
  • 1,384
  • 2
  • 19
  • 37