This is a migrated thread and some comments may be shown as answers.

RadListView iOS not visible

6 Answers 225 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Dimitar
Top achievements
Rank 1
Dimitar asked on 17 Oct 2017, 03:11 PM

Hi , 

 

I am displaying data using RadListView component . Its working for Android , but for iOS doesn't show the list . 

Some ideas ? 

 

6 Answers, 1 is accepted

Sort by
0
Nikolay Tsonev
Telerik team
answered on 18 Oct 2017, 05:32 AM
Hello Dimitar,
Thank you for contacting us.
There was an issue with the RadListView component rendering on a device with iOS 11, however, this is already fixed in the upcoming version.
if the case is similar and you are testing on iOS 11, in the meantime you could use the @next version of the plugin. Steps:
tns plugin remove nativescript-pro-ui
tns plugin add nativescript-pro-ui@next
Keep in mind that you should also delete platforms node_modules and hooks folders before rebuilding.

If the issue is different, please provide some more info about the problem. Also, sed us sample project, which could be used for debugging, will also help to find what is causing the problem.



Regards,
nikolay.tsonev
Progress Telerik
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Dimitar
Top achievements
Rank 1
answered on 18 Oct 2017, 11:55 AM

Hi , 

Actually it was on iOS emulator iPhone 6s - iOS 10.3 

I have updated and deleted the folder and now I can't compile . This is the error

=== BUILD TARGET ChatCardF OF PROJECT ChatCardF WITH CONFIGURATION Debug ===
/Users/dimitar/tns/ChatCardF/platforms/ios/build/emulator/ChatCardF.app/Frameworks/TelerikUI.framework: replacing existing signature
/Users/dimitar/tns/ChatCardF/platforms/ios/build/emulator/ChatCardF.app/Frameworks/TelerikUI.framework: main executable failed strict validation
Command /usr/bin/codesign failed with exit code 1
** BUILD FAILED **

Unable to apply changes on device: BA6E3327-4D20-47BC-9204-114E425E61B3. Error is: Command xcodebuild failed with exit code 65.
Executing after-watch hook from /Users/dimitar/tns/ChatCardF/hooks/after-watch/nativescript-dev-typescript.js

0
Nikolay Tsonev
Telerik team
answered on 18 Oct 2017, 01:11 PM
Hello,

Could you try resetting the ios simulator? You could review this StackOverflow thread, where it is described, how to do that.  Make sure that you are using the new UI for NativeScript dependancy called
nativescript-pro-ui
 and that you have removed the old
nativescript-telerik-ui-pro
or 
nativescript-telerik-ui
the package.json file. More about the migration from 
nativescript-telerik-ui
to
nativescript-pro-ui
, could be found here

Also after that delete again the node_modules platforms and hooks folders from the project and rebuild again the app.

If the problem still persists, please send us the sample project or at least your project package.json file.

Regards,
nikolay.tsonev
Progress Telerik
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Dimitar
Top achievements
Rank 1
answered on 18 Oct 2017, 02:31 PM

I have already done this steps , but didn't help.

Bellow I am send you the result from build command (replaced the user name and app name) and additionally the package.json

====================

{
"description": "Chat Card Ltd Sofia Application",
"license": " <your-license-filename>",
"readme": "",
"repository": "<fill-your-repository-here>",
"nativescript": {
"id": ".......",
"tns-android": {
"version": "3.2.0"
},
"tns-ios": {
"version": "3.2.0"
}
},
"dependencies": {
"nativescript-audio": "^4.0.3",
"nativescript-bitmap-factory": "^1.7.1",
"nativescript-camera": "^3.0.1",
"nativescript-email": "^1.5.1",
"nativescript-exit": "^1.0.1",
"nativescript-geolocation": "^3.0.1",
"nativescript-imagepicker": "^3.0.6",
"nativescript-pdf-view": "^2.0.1",
"nativescript-permissions": "^1.2.3",
"nativescript-phone": "^1.3.1",
"nativescript-plugin-firebase": "^4.0.3",
"nativescript-pro-ui": "^3.2.0-2017-10-16-2",
"nativescript-purchase": "^1.0.4",
"nativescript-stringformat": "^2.3.4",
"nativescript-theme-core": "~1.0.2",
"tns-core-modules": "^3.2.0"
},
"devDependencies": {
"babel-traverse": "6.4.5",
"babel-types": "6.4.5",
"babylon": "6.4.5",
"lazy": "1.0.11",
"nativescript-dev-typescript": "^0.5.0",
"typescript": "~2.2.1"
},
"author": "TeSt"
}

===============================

dimitar$ tns build ios
Skipping prepare.
Building project...Xcode build...
=== BUILD TARGET TestApp OF PROJECT testApp WITH CONFIGURATION Debug ===TestApp
Warning: Multiple build commands for output file /Users/testUser/tns/TestApp/platforms/ios/build/emulator/testApp.app/Frameworks/TelerikAppFeedback.frameworkTestApp
Warning: Multiple build commands for output file /Users/testUser/tns/TestApp/platforms/ios/build/emulator/testApp.app/Frameworks/TelerikUI.frameworkTestApp
=== BUILD TARGET TestApp OF PROJECT testApp WITH CONFIGURATION Debug ===TestApp
ld: warning: directory not found for option '-F/Users/testUser/Library/Developer/Xcode/DerivedData/TestApp-favxiwfckjymptaveetocwgdmsxc/Build/Products/Debug-iphonesimulator/GTMSessionFetcher'
ld: warning: directory not found for option '-F/Users/testUser/Library/Developer/Xcode/DerivedData/TestApp-favxiwfckjymptaveetocwgdmsxc/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac'
ld: warning: directory not found for option '-F/Users/testUser/Library/Developer/Xcode/DerivedData/TestApp-favxiwfckjymptaveetocwgdmsxc/Build/Products/Debug-iphonesimulator/leveldb-library'
ld: warning: directory not found for option '-F/Users/testUser/Library/Developer/Xcode/DerivedData/TestApp-favxiwfckjymptaveetocwgdmsxc/Build/Products/Debug-iphonesimulator/nanopb'
ld: warning: directory not found for option '-F/Users/testUser/Library/Developer/Xcode/DerivedData/TestApp-favxiwfckjymptaveetocwgdmsxc/Build/Products/Debug-iphonesimulator/GTMSessionFetcher'
ld: warning: directory not found for option '-F/Users/testUser/Library/Developer/Xcode/DerivedData/TestApp-favxiwfckjymptaveetocwgdmsxc/Build/Products/Debug-iphonesimulator/GoogleToolboxForMac'
ld: warning: directory not found for option '-F/Users/testUser/Library/Developer/Xcode/DerivedData/TestApp-favxiwfckjymptaveetocwgdmsxc/Build/Products/Debug-iphonesimulator/leveldb-library'
ld: warning: directory not found for option '-F/Users/testUser/Library/Developer/Xcode/DerivedData/TestApp-favxiwfckjymptaveetocwgdmsxc/Build/Products/Debug-iphonesimulator/nanopb'
=== BUILD TARGET TestApp OF PROJECT testApp WITH CONFIGURATION Debug ===TestApp
error: the following command failed with exit code 0 but produced no further output
Ld /Users/testUser/Library/Developer/Xcode/DerivedData/TestApp-favxiwfckjymptaveetocwgdmsxc/Build/Intermediates/testApp.build/Debug-iphonesimulator/ChatCardF.build/Objects-normal/i386/ChatCardF normal i386testApptestAppTestAppTestAppTestApp
=== BUILD TARGET TestApp OF PROJECT testApp WITH CONFIGURATION Debug ===TestApp
while processing /Users/testUser/tns/TestApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2DKXPQ92SAISO/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
while processing /Users/testUser/tns/TestApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2DKXPQ92SAISO/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
while processing /Users/testUser/tns/TestApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2DKXPQ92SAISO/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
while processing /Users/testUser/tns/TestApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2DKXPQ92SAISO/Dispatch-2LX9MWM6UEPQW.pcm: No such file or directory
while processing /Users/testUser/tns/TestApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2DKXPQ92SAISO/ObjectiveC-1RQA2RIXJIE19.pcm: No such file or directory
while processing /Users/testUser/tns/TestApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/28BJBFDGVGZZ3/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
while processing /Users/testUser/tns/TestApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/28BJBFDGVGZZ3/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
while processing /Users/testUser/tns/TestApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/28BJBFDGVGZZ3/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
while processing /Users/testUser/tns/TestApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/28BJBFDGVGZZ3/Dispatch-2LX9MWM6UEPQW.pcm: No such file or directory
while processing /Users/testUser/tns/TestApp/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/28BJBFDGVGZZ3/ObjectiveC-1RQA2RIXJIE19.pcm: No such file or directory
error: make directory /Users/testUser/tns/TestApp/platforms/ios/build/emulator/testApp.app/Frameworks/TelerikAppFeedback.framework/_CodeSignature: File existsTestApp
error: make directory /Users/testUser/tns/TestApp/platforms/ios/build/emulator/testApp.app/Frameworks/TelerikUI.framework: File existsTestApp
=== BUILD TARGET TestApp OF PROJECT testApp WITH CONFIGURATION Debug ===TestApp
error: the following command failed with exit code 1 but produced no further output
PBXCp /Users/testUser/tns/TestApp/node_modules/nativescript-imagepicker/node_modules/nativescript-pro-ui/platforms/ios/TelerikUI.framework build/emulator/testApp.app/Frameworks/TelerikUI.frameworkTestApp
** BUILD FAILED **

0
Accepted
Nikolay Tsonev
Telerik team
answered on 19 Oct 2017, 06:17 AM
Hello Dimitar,

I made some research on the error with application build and found that this is caused due to using nativescript-pro-ui @next version and nativescript-imagepicker. The image picker plugin uses the official version nativescript-pro-ui and its RadListView component. In this case, adding manually @next version of the pro UI plugin will lead to error on build.
Regarding that, I would suggest changing the version of nativescript-pro-ui in your package.json file to 3.1.4. Also remove node_modules and platforms folders before the rebuild. 
About the first issue with not showing the ListView in iOS. Make sure that you are using GridLayout as the main container of the component. For example:
<GridLayout>
<lv:RadListView>
......
</lv:RadListView>
</GridLayout>


If the problem with ListView still persists, send some sample code, where it is shown how the RadListView is used in the project and how the content is loaded. 

nikolay.tsonev
Progress Telerik
Did you know that you can open private support tickets which are reviewed and answered within 24h by the same team who built the components? This is available in our UI for NativeScript Pro + Support offering.
0
Dimitar
Top achievements
Rank 1
answered on 19 Oct 2017, 11:53 AM

Hi Nikolay, 

I have made both of you recommendations and they helped. So now I could see the list view.

Thank you .  

Bus is this requirment for GridLayout is new , because I have used with StackLayout before.  

 

Tags
General Discussion
Asked by
Dimitar
Top achievements
Rank 1
Answers by
Nikolay Tsonev
Telerik team
Dimitar
Top achievements
Rank 1
Share this question
or