Monotouch setting the Application Bundle Version - xamarin.ios

I'm trying to set the Application version for my MonoTouch project, but it doesn't seem like I have found the right location.
I've tried setting the version to 2.0.0 under:
the Solution>General>Main Settings>Version field
the Project>General>Main Settings>Version field (which can inherit from the solution)
the Info.plist>iOS Application Target>Version field
If I check the version using
string currentVersion = NSBundle.MainBundle.InfoDictionary["CFBundleVersion"].ToString();
I only ever get back 1.0 as the version. Am I missing a place to set the application version, or do I need to use a different method for checking the BundleVersion?
Here is the version info I am running
MonoDevelop 3.0.5
Installation UUID: 554868b3-3202-4955-bf88-38a3e5949a79
Runtime:
Mono 2.10.9 (tarball)
GTK 2.24.10
GTK# (2.12.0.0)
Package version: 210090011
Apple Developer Tools:
Xcode 4.5.1 (1842)
Build 4G1004
Monotouch: 6.0.6 (Evaluation)

Doing the same change in my own Info.plist file works perfectly with the code you provided, i.e. I do get the expected 2.0.0 string. I also tried it inside the iOS simulator since you're using the evaluation version.
I do have newer versions of the softwares - but they are not very different and I do not recall anything changed in those area.
Can you look (and maybe add it in your question) the content of your Info.plist ? it should be an XML file (default format used by MonoDevelop) and should have your 2.0.0 string inside it.
If that does not work please zip a small sample that do so and attach it to a bug report as there might be something that does not, always, get updated ?!?

Related

Compile error in java script library for Xpages

Notes 10.0.1 FP3 causing below compile errors, but Notes 9.0.1 FP10 SHF81 doesn't have the same issue. Is there a way to resolve this without having 9.0.1 installed?
1) Cannot nest 'IBM/Notes/framework/rcp/eclipse/plugins/org.eclipse.swt.win32.win32.x86_3.105.3.20190810-1410'
2) Container 'IniVariable Java Library' references non-existing library 'IBM\Notes\Data\SwPDFC\java\ver6.20.000\swpdfc-2.0.0.jar'
It looks like your using the SWING PDF Converter. Maybe you should try to reinstall the Converter or maybe you have to look if there's a newer version that is compatible with Notes version 10. As stwissel pointed out Notes version 10 uses Java8 and OpenJDK, so maybe a newer version of the SWING PDF Converter is the solution.
When you create a new blank database it automatically includes 'Plug-in Dependencies' which appear to pull in everything in the 'Notes\framework\rcp\eclipse\plugins' folder which includes the referenced plug-in shown in the error message. The problem is when you add a new variable classpath entry and select ECLIPSE_HOME, then navigate to the same 'Notes\framework\rcp\eclipse\plugins' location.
If you select a different folder for your new variable classpath entry or remove either the 'ECLIPSE_HOME' or 'Plug-in Dependencies' from your Build Path Libraries the error goes away. I have included the below screenshot showing what I mean.
Since the Extension Library was rolled into the Notes core it must now be part of the Plug-in Dependencies causing a conflict when being added via the IniVariable option for those using 10.0.1. I still need to confirm the build path with a co-worker who has Notes 9.0.1 FP10 SHF81.

XPages Extension Library cannot be found

I'm getting the error below when I run my application:
com.ibm.xsp.FacesExceptionEx: The application /test/Test.nsf requires com.ibm.xsp.extlib.relational.library
The extension library cannot be found, but the library was installed by replicating the updatesite.nsf from the main server to the current server throwing this error.
When I issue the command below:
tell http osgi ss com.ibm.xsp.extlib
The log show that the library is ACTIVE, but does not show that it has been INSTALLED.
Since the library is already on the server, how can I install it?
Your support will be appreciated.
Thanks.
com.ibm.xsp.extlib.relational.library is not part of the core 9.0.1 Extension Library. It was only incorporated into the core OpenNTF Extension Library in 9.0.1_v00_10. It was not incorporated into core IBM Extension Library until Feature Pack 8. You will see that nothing starting com.ibm.xsp.extlib is referenced in your screenshot of the server console, and version 9.0.1_v00_00 which shows you only have 9.0.1 base Extension Library installed. There are three options:
Install ExtLibX component from the OpenNTF Extension Library. You will still be using the base 9.0.1 version for all other controls.
Upgrade the version of the Extension Library to a more recent version, e.g. 9.0.1_v00_17. This will override the base 9.0.1 version of all Extension Library controls.
Upgrade to 9.0.1 Feature Pack 8.
Note that if you use ExtLibX, SSJS code or XPages components will continue to work when you subsequently upgrade ExtLib (or Domino to FP8+). However, to avoid name collisions, the Java class names will change. If you use custom Java code, you will need to edit and update the classes to the new Java package names when upgrading in the future.

FacebookSDK.h not found - Xcode 6.2, Facebook-iOS-SDK 4.0

I am using Xcode 6.2, Facebook-iOS-SDK 4.0. I used to have working code with Facebook-iOS-SDK 3.20.0.But, now I am getting compile-time error FacebookSDK.h not found. I am using pod to install sdk. Can someone give me any pointers why this is happening?
The SDK (v 4.0) is no longer one framework named "FacebookSDK", but rather a few different packages with a naming convention of "FBSDKTypeKit", where types are different things like Core and Login. This means the name of the header files have also changed, so that's why your project can no longer find FacebookSDK.h (as it's now FBSDKCoreKit.h).

Old version of TypeScript installation program (.MSI, or .VSIX) needed - 0.9.1.1 - where to find?

Anybody know how to get the .MSI installer for an older version of Typescript - the download at the offical URL for version 0.9.1.1 is no longer available.
It seems newer version 1.0 or 1.0.1.0 is available, but that version is incompatible with my client's software which I am attempting to support.
Any idea how to get the specific version I need?
OK - found it. After some digging, there is a reference in the bowels of the Microsoft Download Center for many old versions of TypeScript.
Expand the 'Details' section and scroll down, click 'Download' link on desired version...

Upgrading Awesomium SDK 1.6.6 to 1.7

I have Awesomium SDK 1.6.6 installed and i want to upgrade it to the 1.7 candidate how could i do that. because when i downloaded the 1.7 i find it is only consists of some files and no setup file included (like the 1.6 one)
We have not created an installer for the Release Candidates of version 1.7. RCs are not stable releases. There will be one again when 1.7 goes stable and 1.6.6 installations will then be able to automatically upgrade to 1.7.
Are you looking to use the .NET wrappers? If so, you should be able to download and extract the files anywhere, then in your project, just add references to Awesomium.Core.dll and either Awesomium.Windows.Forms.dll or Awesomium.Windows.Controls.dll, depending on whether you're using Winforms or WPF. The dlls are located in awesomium_1_7_rc3_v3_sdk_win\wrappers\AwesomiumNET\Assemblies\ within the archive.
I believe the setup.exe you're expecting to see is only used for extracting the files to a specific location and providing you with some helpful links in your start menu, so you aren't missing much by not having it.

Resources