게시글
질문&답변
2023.10.25
Error (Xcode): Sandbox: rsync(13885) deny(1)
(사진)구글링해서 해결했습니다!!!!!
- 0
- 4
- 5.2K
질문&답변
2023.10.25
Error (Xcode): Sandbox: rsync(13885) deny(1)
스튜디오에서 실제 아이폰으로 빌드할때 아래와 같은 에러가 발생합니다!Could not build the precompiled application for the device.Error (Xcode): Sandbox: rsync(20410) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.frameworkError (Xcode): Sandbox: rsync(20410) deny(1) file-write-times /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.frameworkError (Xcode): Sandbox: rsync(20410) deny(1) file-write-times /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/HeadersError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/FlutterError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/.Flutter.zhQ6FeError (Xcode): Sandbox: rsync(20410) deny(1) file-write-times /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/ModulesError (Xcode): Sandbox: rsync(20410) deny(1) file-write-times /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/_CodeSignatureError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Info.plistError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/.Info.plist.1f46KkError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/icudtl.datError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/.icudtl.dat.JNI2mwError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/Flutter.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.Flutter.h.WXbYQQError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterAppDelegate.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterAppDelegate.h.2leorpError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterBinaryMessenger.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterBinaryMessenger.h.hdcLA4Error (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterCallbackCache.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterCallbackCache.h.DGO15pError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterChannels.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterChannels.h.3WsKilError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterCodecs.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterCodecs.h.IucMPTError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterDartProject.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterDartProject.h.Gnp2ldError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterEngine.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterEngine.h.BIlG16Error (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterEngineGroup.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterEngineGroup.h.tX6XKIError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterHeadlessDartRunner.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterHeadlessDartRunner.h.hJ8qd9Error (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterMacros.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterMacros.h.Xpp91DError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterPlatformViews.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterPlatformViews.h.X9JYXrError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterPlugin.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterPlugin.h.v8gxxgError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterPluginAppLifeCycleDelegate.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterPluginAppLifeCycleDelegate.h.StwXFkError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterTexture.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterTexture.h.GF9vswError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/FlutterViewController.hError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Headers/.FlutterViewController.h.Jx0rBZError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Modules/module.modulemapError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/Modules/.module.modulemap.Cfn66aError (Xcode): Sandbox: rsync(20411) deny(1) file-read-data /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/_CodeSignature/CodeResourcesError (Xcode): Sandbox: rsync(20411) deny(1) file-write-create /Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/Flutter.framework/_CodeSignature/.CodeResources.3xv78BError (Xcode): Flutter failed to read a file at "/Users/geff/Library/Mobile Documents/com~apple~CloudDocs/4.flutter/build/ios/Release-iphoneos/.last_build_id".
- 0
- 4
- 5.2K
질문&답변
2023.02.24
캘리더 강의중에서 시차 관련 부분 강의에서요
안녕하세요 ! 저도 동일한 이슈가 있는데요!(사진)home_screen.dartimport 'package:flutter/material.dart'; import 'package:get_it/get_it.dart'; import 'package:schedule/component/schedule_bottom_sheet.dart'; import 'package:schedule/component/schedule_card.dart'; import 'package:schedule/component/today_banner.dart'; import 'package:schedule/const/colors.dart'; import 'package:schedule/component/calender.dart'; import '../component/calender.dart'; import '../database/drift_database.dart'; class HomeScreen extends StatefulWidget { const HomeScreen({Key? key}) : super(key: key); @override State createState() => _HomeScreenState(); } class _HomeScreenState extends State { DateTime selectedDay = DateTime( DateTime .now() .year, DateTime .now() .month, DateTime .now() .day, ); DateTime focusedDay = DateTime.now(); @override Widget build(BuildContext context) { return Scaffold( floatingActionButton: renderFloatingActionButton(), body: SafeArea( child: Column( children: [ Calendar( selectedDay: selectedDay, focusedDay: focusedDay, onDaySelected: onDaySelected, ), SizedBox(height: 8.0), TodayBanner( selectedDay: selectedDay, scheduleCount: 3, ), SizedBox(height: 8.0), _ScheduleList(), ], ), ), ); } FloatingActionButton renderFloatingActionButton() { return FloatingActionButton( onPressed: () { showModalBottomSheet( context: context, isScrollControlled: true, builder: (_){ return ScheduleBottomSheet( selectedDate: selectedDay, ); }, ); }, backgroundColor: PRIMARY_COLOR, child: Icon( Icons.add, )); } onDaySelected(DateTime selectedDay, DateTime focusedDay) { setState(() { this.selectedDay = selectedDay; this.focusedDay = selectedDay; }); } } class _ScheduleList extends StatelessWidget { const _ScheduleList({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Expanded( child: Padding( padding: const EdgeInsets.symmetric(horizontal: 8.0), child: StreamBuilder>( stream: GetIt.I().watchSchedules(), builder: (context, snapshot) { List schedules = []; if(snapshot.hasData){ schedules = snapshot.data!.where((element) => element.date == selectedDate).toList(); } return ListView.separated( itemCount: 3, separatorBuilder: (context, index) { return SizedBox( height: 8.0, ); }, itemBuilder: (context, index,) { return ScheduleCard( startTime: 8, endTime: 9, content: '프로그래밍, $index', color: Colors.red, ); }); } )), ); } } schedule_bottom_sheet.dartimport 'package:drift/drift.dart' show Value; import 'package:flutter/material.dart'; import 'package:get_it/get_it.dart'; import 'package:schedule/component/custom_text_field.dart'; import 'package:schedule/const/colors.dart'; import 'package:schedule/database/drift_database.dart'; import 'package:schedule/model/category_color.dart'; import 'package:schedule/screen/home_screen.dart'; class ScheduleBottomSheet extends StatefulWidget { final DateTime selectedDate; const ScheduleBottomSheet({ required this.selectedDate, Key? key, }) : super(key: key); @override State createState() => _ScheduleBottomSheetState(); } class _ScheduleBottomSheetState extends State { final GlobalKey formKey = GlobalKey(); int? startTime; int? endTime; String? content; int? selectedColorId; @override Widget build(BuildContext context) { final bottomInset = MediaQuery.of(context).viewInsets.bottom; return GestureDetector( onTap: () { FocusScope.of(context).requestFocus(FocusNode()); }, child: SafeArea( child: Container( color: Colors.white, height: MediaQuery.of(context).size.height / 2 + bottomInset, child: Padding( padding: EdgeInsets.only(bottom: bottomInset), child: Padding( padding: EdgeInsets.only(left: 8.0, right: 8.0, top: 16.0), child: Form( key: formKey, child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ _Time( onStartSaved: (String? val) { startTime = int.parse(val!); }, onEndSaved: (String? val) { endTime = int.parse(val!); }, ), SizedBox( height: 16.0, ), _Content( onSaved: (String? val) { content = val; }, ), SizedBox( height: 16.0, ), FutureBuilder>( future: GetIt.I().getCategoryColors(), builder: (context, snapshot) { if (snapshot.hasData && selectedColorId == null && snapshot.data!.isNotEmpty) { selectedColorId = snapshot.data![0].id; } return _ColorPicker( colors: snapshot.hasData ? snapshot.data! : [], selectedColorId: selectedColorId, colorIdSetter: (int id) { setState(() { selectedColorId = id; }); }); }), SizedBox( height: 8.0, ), _SaveButton( onpressed: onSavePressed, ), ], ), ), ), ), ), ), ); } void onSavePressed() async{ // formKey는 생성을 했을때 // Form 위젯과 결합을 안했을때 if (formKey.currentState == null) { return; } if (formKey.currentState!.validate()) { print('에러가 없습니다.'); formKey.currentState!.save(); print('$startTime'); print('$endTime'); print('$content'); final key = await GetIt.I().createSchedule( SchedulesCompanion( date : Value(widget.selectedDate), startTime : Value(startTime!), endTime: Value(endTime!), content: Value(content!), colorId: Value(selectedColorId!), ) ); print( 'save complete $key'); Navigator.of(context).pop(); } else { print('에러가 있습니다..'); } } } class _Time extends StatelessWidget { final FormFieldSetter onStartSaved; final FormFieldSetter onEndSaved; const _Time({ required this.onStartSaved, required this.onEndSaved, Key? key, }) : super(key: key); @override Widget build(BuildContext context) { return Row( children: [ Expanded( child: CustomTextField( label: '시작 시간', isTime: true, onSaved: onStartSaved, )), SizedBox(width: 16.0), Expanded( child: CustomTextField( label: '마감 시간', isTime: true, onSaved: onEndSaved, )), ], ); } } class _Content extends StatelessWidget { final FormFieldSetter onSaved; const _Content({ required this.onSaved, Key? key, }) : super(key: key); @override Widget build(BuildContext context) { return Expanded( child: CustomTextField( label: '내용', isTime: false, onSaved: onSaved, )); } } typedef ColorIdSetter = void Function(int id); class _ColorPicker extends StatelessWidget { final List colors; final int? selectedColorId; final ColorIdSetter colorIdSetter; const _ColorPicker({ required this.colors, required this.selectedColorId, required this.colorIdSetter, Key? key, }) : super(key: key); @override Widget build(BuildContext context) { return Wrap( spacing: 8.0, runSpacing: 10.0, children: colors .map( (e) => GestureDetector( onTap: () { colorIdSetter(e.id); }, child: renderColor( e, selectedColorId == e.id, ), ), ) .toList(), ); } Widget renderColor(CategoryColor color, bool isSelected) { return Container( decoration: BoxDecoration( shape: BoxShape.circle, color: Color( int.parse( 'FF${color.hexCode}', radix: 16, ), ), border: isSelected ? Border.all( color: Colors.black, width: 4.0, ) : null, ), width: 32.0, height: 32.0, ); } } class _SaveButton extends StatelessWidget { final VoidCallback onpressed; const _SaveButton({ required this.onpressed, Key? key, }) : super(key: key); @override Widget build(BuildContext context) { return Row( children: [ Expanded( child: ElevatedButton( onPressed: onpressed, style: ElevatedButton.styleFrom( primary: PRIMARY_COLOR, ), child: Text('저장'), ), ), ], ); } } 도저히 해결이 안되서 진도를 못나가고 있는 상황입니다 ㅠㅠ 확인 부탁드립니다! 감사합니다
- 0
- 2
- 370
질문&답변
2023.02.02
bottomsheet 사용하기중 ios simulator에서 키보드가 보이지 않아요~
감사합니다^^
- 1
- 2
- 569
질문&답변
2023.01.31
compileSdkVersion 32 관련 문의
툴에가서 sdk flatfom 12를 설치하니깐 되네요!
- 0
- 2
- 431
질문&답변
2022.06.07
마리아db 문의
빠른답변 너무나 감사드립니다!
- 0
- 2
- 210