Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8068797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:48:38+00:00 2026-06-05T12:48:38+00:00

How do you use ShareKit with MonoTouch? The MonoTouch Bindings project on GitHub seems

  • 0

How do you use ShareKit with MonoTouch?

The MonoTouch Bindings project on GitHub seems to have bindings for ShareKit but I can’t get them to work. I currently have an iPhone application developed using MonoTouch in MonoDevelop, but I have no idea how to actually get ShareKit into my application.

I’ve downloaded the MonoTouch Bindings project, but when I make in the ShareKit directory it seems to require ShareKit itself. I then downloaded ShareKit, but I’m not sure if I’m supposed to follow the installation instructions for integrating ShareKit into an XCode project or even whether I’m supposed to build ShareKit at all. I’ve tried “building” an empty iPhone application project with ShareKit but parts of the instructions are not up-to-date for the latest XCode, it seems, to I got stuck in the process. I’m trying to get this working but my experiences with XCode so far has been limited to what little’s needed for MonoTouch development.

Or is there a “precompiled” ShareKit iOS binary that could be used with MonoTouch?

Could someone verify that ShareKit is actually usable with MonoTouch and walk me through the steps required for making it work?

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T12:48:40+00:00Added an answer on June 5, 2026 at 12:48 pm

    First did you download from getsharekit.com or are you using ShareKit 2.0? If you are using the DL from getsharekit then I highly recommend you upgrade first. Second here some basic installation instructions for getting ShareKit to work with MonoTouch:

    Steps

    1) Download the code

    2) Open in Xcode and if its an App create a new Xcode project of type iOS library

    3) Compile the library and take note of the frameworks needed – these will help you later when linking in monotouch

    3) Compile a i386 Sim version of the lib and rename to libXYZLib_Sim.a – copy this to /Lib in your project and set its build action to None. You can find this under /ProjectLib/build/Debug-iphonesimulator/

    4) Compile a arm6 version with the correct version & copy this to /Lib in your project and set its build action to None. You can find this under /ProjectLib/build/Debug-iphoneos/

    5) Run the NovellHeaderParser like so against the library directories that contain .h files

    @@
    mono “/Users/XX/Projects/NovellHeaderParser/NovellHeaderParser/bin/Debug/NovellHeaderParser.exe” /Users/XX/Documents/ShareKitLib/ShareKit/Core
    @@

    this should produce a MonoMac.cs file that you can import into your system

    6) Repeat step 5 for other directories. NOTE you will really only have to run the parser against .h files with entry points e.g. top level classes that the API calls directly. subclasses, utils, helper methods don’t need to be parsed.

    7) Combine all the MonoMac.cs files into a new MyLib.cs file and add that to the project under /Lib – set its build options to None

    8) Change any references from MonoMac to MonoTouch

    10) The parser might create a enum.cs file for each directory parsed but if not create your own called MyLibEnum.cs with any structs or enums needed by the API – add it to /Lib and set build options to None

    11) Open a terminal window and navigate to the /Lib dir of your project

    12) run the following btouch command line – this will create a wrapper.dll from the interfaces defined in MyLib.cs
    @@
    /Developer/MonoTouch/usr/bin/btouch -v MyLib.cs -s MyLibEnum.cs
    @@

    13) Add any missing enums or structs to MyLibEnum.cs and repeat Step 12

    14) Fix any multiple declarations of selectors by renaming them – this may cause a problem later (see note 1)

    15) Fix any missing references e.g. NSMutableArray does not seem to exist in monotouch so I change these to NSArrays (I think these are mutable under monotouch anyway???)

    16) Go back to 12) and repeat until a dll is generated.

    17) Add a reference to the dll into the project

    18) Add the following into the iPhone Build> additional mtouch options TO THE SIMULATOR DEBUG/RELEASE BUILD:
    @@
    -gcc_flags “-L${ProjectDir}/Lib -lMyLib_Sim -framework QuartzCore -framework CoreGraphics -framework MessageUI -framework Security -framework UIKit -framework CFNetwork -force_load ${ProjectDir}/Lib/libMyLib_Sim.a -ObjC”
    @@

    ”’Notice”’

    no trailing / on -L${ProjectDir}/Lib

    -lShareKitLib_Sim does not need need the starting lib prefix or .a suffix

    add one -framework for each framework used in the creation of the lib – above is not an exaustive list

    19) Add the following into the iPhone Build> additional mtouch options TO THE IPHONE DEBUG/RELEASE BUILD:
    @@
    -gcc_flags “-L${ProjectDir}/Lib -lMyLib -framework QuartzCore -framework CoreGraphics -framework MessageUI -framework Security -framework UIKit -framework CFNetwork -force_load ${ProjectDir}/Lib/libMyLib.a -ObjC”
    @@

    20) TEST IT!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a xcode/phonegap project where I want to use the sharekit - not
I use ShareKit in most of my apps, but would like to add Timeline
Use OPENXML to get dt element in MSSQL 2005. How can I get xmlns:dt
i use shareKit to myself program . but in the FBConnectGlobal, there are some
i usually use ShareKit to add share featuring into my apps, but since with
I am using sharekit but I don't want to use the bityl service for
Sorry guys for noob question, need help. I'm try to use Sharekit - https://github.com/ShareKit/ShareKit
I'm working on a PhoneGap (aka Cordova) project which makes use of ShareKit 2.0
use this website a lot but first time posting. My program creates a number
Use case: class MyTask(Task): queue = 'default_queue' def run(self): # do work Normally I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.