Few questions from Trial user

menuIcon.png isn’t in the asset catalog, though. Make sure you use the proper casing when loading it. iOS’s file system is case sensitive.

looks like. the Elements/VS team will need to investigate this. At least there Xcode sync issue. As for why it doesn’t load your image at runtime, i’m still clueless (potential case issues aside). I’ll need to test mor eoin that front when im back in the office.

menuIcon.png isn’t in the asset catalog, though. Make sure you use the
proper casing when loading it. iOS’s file system is case sensitive.

Yes it’s not in asset catalog because if I set build action for png file, then is not accessible in storyboard or even via code, that’s why I must set it as AppResource. At least Images.xcassets should be included, but as You can see in project.pbxproj example, it’s not. Nothing what is set as AssetCatalog is included in project.pbxproj so is not visible in storyboard. I know that iOS filenames are case sensitivie and I checked it :slight_smile: Simulator do not care for case sensitive, but real device is. Here is no mistake :slight_smile:

b.r.

Right, but i thought the (second) issue was that it cant load the image if it’s in the asset catalog?

Thanks, logged as bugs://72652: Nougat: Asset Catalog doesn’t show in Xcode UI project, from VS (fine from Fire)

Second issue was about naming convention (@2x, 3x in picture name) and I test png file as AppResource because this way I can access it. I test picture width,height when image was loaded by iOS instead of scale. Scale give real answer which one file was loaded. This works properly.
Anyway too many things in one thread. Next time I’ll create separate topic to not confuse, mix things :smile:

b.r.

Ok, so that is sorted,and the only issue remaining is the lack of Asset Catalog sync when working in VS? If so, that’ll get fixed next week.

Not exactly, just reminded one thing. I have mentioned about no storybard synchronization between mac and PC (xcode <> VS). Any change in storyboard at mac, need to use clean in VS project, otherwise VS build apk like nothing changed. I have checked if Main.storyboard is modified at PC and it is. My setup is PC <> Mac via wi-fi. Same with virtual machine with windows on Mac. Please do simple test like add button on viewcontroller, set text to “1”, build at PC and run, back to storyboard and change position or text to “2” and again build and run. I see still button with “1”. If I do clean, then changes are visible.

b.r.

can you retest the Asset Catalog issue with VS in the new beta? we believe this was already fixed for 8.2. For the other issue, id still like to see those build logs, to investigate further.

thnx!

Problem is that i’m still trial user, so don’t have access to beta versions. I do some application to show result to my boss that is THAT right product to buy. As You know, most bosses don’t have idea about programming, they want to see working RESULTS. So I’m pressured to working 24/24 to learn C#, iOS and have enought time to finish it till trial limit passes. That’s why I find out many small bugs (bacause of time spend on elements).

b.r.

See the link I PM’ed you, it will give you beta access.

1 Like

confirmed - xcassets fixed !!!
Good work! :smile:

[EDIT]

Too fast :confused: There is another issue. Now xcassets are visible, but is not possible to add/move resource image to Images.xcassets direcotry. It was not possible before too. What it cause? Picture cannot be used for slicing (in xcode go to Images.xcassets and AppIcon, select any and select from menu Editor/Show Slicing.) This option is not available for pictures which are not in Images.xcassets directory. It’s fundamental option to create buttons with resizable graphics.
It’s possible to move picture in xcode to Images.xcassets but it create doubled resources, in resource directory and in Images.xcassets. I’ll check if picture is even visible with this trick.

[EDIT2]

Picture is visible in application if moved in xcode to Images.xcassets and removed from Resources in VS. So is any workaround, but we have no control on them from VS :slight_smile:

b.r.

bugs://72652 got closed with status cannotrepro.

All I get is this:

 error Link: Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_CATransition", referenced from:
      objc-class-ref in UniversalApp3.o
ld: symbol(s) not found for architecture armv7

not an internal error?

add QuartzCore to references. I reported this before that compilator do not show missing reference, but trying to access to reference method anyway.
btw. which one bug You trying to reproduce?

Right it does fail to link (and I’ll look into that). What it doesnt’ do is show an internal error or crashes. How do I get that to happen?

Sorry I’m lost. I mean what code You trying to reproduce bug or You mean bug with not show/crash when QuartzCore is not added to references? :slight_smile:

I’m trying to reproduce the crash yes.

Ahh I read my first post, because it was 5 things. So crash not always happen. It crash sometimes and it must be related with this:

http://talk.remobjects.com/t/vs-probably-memory-leaks/6699
and this:
http://talk.remobjects.com/t/extreme-slowness-in-the-editor-and-memory-loss-reproducible/6575/2

In both cases it’s memory leak problem and at some stage VS just crash. I realized it later, so at day when I create this thread I had internal error and sometimes crash. You cannot reproduce crash, because is random. Try first do leaks (second link - there user attach video) and after try to crash VS

b.r.

Ah ke. Very likely those are related yes.

bugs://72576 got closed with status nochangereq.