nativescript-modal-datetimepicker
nativescript-modal-datetimepicker copied to clipboard
Modal date time picker not working in ios version 14.2
I am using nativescript 5.4.0
platform/ios "version": "6.5.2"
And "nativescript-modal-datetimepicker": "^1.1.12",
I have recently updated xcode version to 12.
I have attached screen shot of the issue if any one have the solution please assist.
It is fixed in version 1.2.4 with the commits from September 24th
@cwolff-wells After installing 1.2.4 version. I am getting below error on calling .pickDate() method
Error: TypeError: application.systemAppearance is not a function. (In 'application.systemAppearance()', 'application.systemAppearance' is undefined)
@shiv19 Can you please assist I am having the same issue when updated to 1.2.4 N below 7.
@shiv19 @cwolff-wells @davecoffin Error: TypeError: application.systemAppearance is not a function. (In 'application.systemAppearance()', 'application.systemAppearance' is undefined
@shiv19 @cwolff-wells @davecoffin Any one?
@tech-oss I have not run into that issue. We are running Nativescript 6+. The code for the ios date picker is at https://github.com/davecoffin/nativescript-modal-datetimepicker/blob/master/src/modal-datetimepicker.ios.ts. It uses @nativescript/core which is Nativescript 6+. If you don't want to start using @nativescript/core you may have to fork an older version that works for you and then add then add in those changes from September 24th.
@cwolff-wells I have updated the app to native script core using tns migrate command. And after that I updated all the plugins used. But Its showing me an error please see complete log of terminal below: roject successfully prepared (ios) Configure firebase Add iOS crash logging Building project... Xcode build... error: Multiple commands produce '/Users/macbookpro/Documents/flow-app/platforms/ios/build/Debug-iphonesimulator/flowapp.app/Frameworks/TNSCore.framework':
- Target 'flowapp' (project 'flowapp') has copy command from '/Users/macbookpro/Documents/flow-app/node_modules/nativescript-ui-chart/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/macbookpro/Documents/flow-app/platforms/ios/build/Debug-iphonesimulator/flowapp.app/Frameworks/TNSCore.framework'
- Target 'flowapp' (project 'flowapp') has copy command from '/Users/macbookpro/Documents/flow-app/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/macbookpro/Documents/flow-app/platforms/ios/build/Debug-iphonesimulator/flowapp.app/Frameworks/TNSCore.framework'
- Target 'flowapp' (project 'flowapp') has copy command from '/Users/macbookpro/Documents/flow-app/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework' to '/Users/macbookpro/Documents/flow-app/platforms/ios/build/Debug-iphonesimulator/flowapp.app/Frameworks/TNSCore.framework'
note: Using new build system note: Planning build note: Constructing build description warning: duplicate output file '/Users/macbookpro/Documents/flow-app/platforms/ios/build/Debug-iphonesimulator/flowapp.app/Frameworks/TNSCore.framework' on task: PBXCp /Users/macbookpro/Documents/flow-app/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/macbookpro/Documents/flow-app/platforms/ios/build/Debug-iphonesimulator/flowapp.app/Frameworks/TNSCore.framework (in target 'flowapp' from project 'flowapp') warning: duplicate output file '' on task: PBXCp /Users/macbookpro/Documents/flow-app/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/macbookpro/Documents/flow-app/platforms/ios/build/Debug-iphonesimulator/flowapp.app/Frameworks/TNSCore.framework (in target 'flowapp' from project 'flowapp') warning: duplicate output file '/Users/macbookpro/Documents/flow-app/platforms/ios/build/Debug-iphonesimulator/flowapp.app/Frameworks/TNSCore.framework' on task: PBXCp /Users/macbookpro/Documents/flow-app/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/macbookpro/Documents/flow-app/platforms/ios/build/Debug-iphonesimulator/flowapp.app/Frameworks/TNSCore.framework (in target 'flowapp' from project 'flowapp') warning: duplicate output file '' on task: PBXCp /Users/macbookpro/Documents/flow-app/node_modules/nativescript-ui-listview/node_modules/nativescript-ui-core/platforms/ios/TNSCore.framework /Users/macbookpro/Documents/flow-app/platforms/ios/build/Debug-iphonesimulator/flowapp.app/Frameworks/TNSCore.framework (in target 'flowapp' from project 'flowapp') ** BUILD FAILED **
Unable to apply changes on device: 4D8959B3-257F-4272-9C0C-D34F4E5C4D82. Error is: Command xcodebuild failed with exit code 65.
@cwolff-wells I am using xcode version 11.2 & here is my package.json file:
{
"nativescript": {
"id": "com.atrixdigital.flow",
"tns-android": {
"version": "6.0.0"
},
"tns-ios": {
"version": "6.2.0"
}
},
"scripts": {
"build-ios": "tns build ios --bundle --env.uglify && tns prepare ios --release",
"build-android": "tns build android --bundle --env.uglify --release --keyStorePath atflow.jks --keyStorePassword 122Elgin18! --keyStoreAlias flowAlias --keyStoreAliasPassword 122Elgin18!"
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN