I had this exact problem with ATMHud yesterday and ChrisNTR sorted me
out (thanks Chris).

I had to get 5.1.1, as this:

[assembly: LinkWith ("libThree20SDK.a", LinkTarget.Simulator |
LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad = true)]
[assembly: LinkWith ("libThree20CoreSDK.a", LinkTarget.Simulator |
LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad = true)]
[assembly: LinkWith ("libThree20NetworkSDK.a", LinkTarget.Simulator |
LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad = true)]
[assembly: LinkWith ("libThree20StyleSDK.a", LinkTarget.Simulator |
LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad = true)]
[assembly: LinkWith ("libThree20UISDK.a", LinkTarget.Simulator |
LinkTarget.ArmV6 | LinkTarget.ArmV7, Frameworks = "QuartzCore",
ForceLoad = true)]
[assembly: LinkWith ("libThree20UICommonSDK.a", LinkTarget.Simulator |
LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad = true)]
[assembly: LinkWith ("libThree20UINavigatorSDK.a",
LinkTarget.Simulator | LinkTarget.ArmV6 | LinkTarget.ArmV7, ForceLoad
= true)]

is new in 5.1 - LinkWith doesn't exist or work (not sure which) in 5.0.x

You can get the beta by going (in MD) into MonoDevelop -> settings ->
Updates, and tick the "get stuff from the beta channel". Then hit ok,
then check for updates. I got 5.1.1 beta + a mono beta + a new MD with
it.

And now ATMHud works _perfectly_

On Sun, Jan 15, 2012 at 02:17, Brett Spurrier <[email protected]> wrote:
> Hi Rolf,
>
> Thanks for the reply. I am using MonoTouch v5.0.4. How can I grab the latest
> beta?
>
> I've scoured the crash logs myself, but I can't make heads or tails of it.
> However, I have attached the log.
>
> So, just to reiterate (in a little more detail this time). I am able to
> include Three20.dll and run it on the device fine. I am able to integrate my
> additional libraries (compiled along side the app, not a prebuild library),
> and that runs fine. However, when I integrate both at the same time, the app
> compiles fine, yet crashes on the first sign of a Three20 call.
>
> Using -v -v -v -v doesn't say much because it builds ok. All looks normal.
>
> Any ideas? This is so bizarre to me. I'm close to removing Three20 from my
> app completely, but if I can avoid that I'd like to. 100% of it runs fine
> with all the libraries on the simulator.
>
> Also, I have tried both compilers (gcc and Apple's llvm).
>
> Many thanks,
> Brett
>
>
>
> On Fri, Jan 13, 2012 at 7:32 PM, Rolf Bjarne Kvinge <[email protected]>
> wrote:
>>
>> Hi,
>>
>> Which version of MonoTouch are you using? If you're not using the latest
>> beta, can you try it to see if the issues still persist?
>>
>> Also the crash report would help a lot in figuring out what's going on
>> (you can find it in Xcode's Organizer, open Xcode, menu Window -> Organizer,
>> and select Your Device/Device Logs on the left).
>>
>> Rolf
>>
>> On Fri, Jan 13, 2012 at 11:07 PM, Brett Spurrier
>> <[email protected]> wrote:
>>>
>>> Hi Mono Community,
>>>
>>> I have a project which I'd like to have utilize the Three20 framework
>>> (I'm using the monotouch-binding implementation
>>> at: https://github.com/mono/monotouch-bindings). I've set up a sample
>>> project and everything works great. However, my full solution also
>>> references other libraries (as projects, not precompiled libraries), and
>>> when I build everything, it build fine. However, when I deploy to the device
>>> and run the app it crashes on the first site of a Three20 call.
>>>
>>> However, it does NOT crash on the simulator.
>>>
>>> How can this be? I've tried various combinations of flags and linker
>>> options, but nothing seems to work.
>>>
>>> Again, my app runs fine when my project libraries are include OR Three20
>>> is included, but NOT both.
>>> Might anyone have any idea? I'm at a complete loss here.
>>>
>>> What information might help debug this?
>>>
>>> Cheers,
>>> Brett
>>>
>>>
>>> _______________________________________________
>>> MonoTouch mailing list
>>> [email protected]
>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>
>>
>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to