Source // // Util.swift // JongjuAR // // Created by 전민정 on 6/9/22. // import Foundation import UIKit // Gpx File download func DownloadGpx(gpxPath: String, gpxFile: String) -> Bool { // url 유효한지 확인 비어있으면 비었다고 var result = false let url = URL(fileURLWithPath: gpxPath) URLSession.shared.dataTask(with: url) { data, resp, err in guard let resp = resp as? HTTPURLResponse else { print("Not http url....
개발/JongjuAR
ContentView.swift // // ContentView.swift // JongjuAR // // Created by 전민정 on 6/6/22. // import SwiftUI struct ContentView: View { @ObservedObject var datas = ReadData() var body: some View { NavigationView { List(datas.jongjus) { jongju in Section(header: Text(jongju.name)) { ForEach(jongju.routes) { route in NavigationLink(destination: DownloadGPXView(route: route)) { Text(route.name) } } } } ..
pod init pod install m1 에서 xcode 업데이트 이후 오류 발생 고치는 법: https://velog.io/@doka/Dont-forget-to-include-the-Crash-Report-log-file-underDiagnosticReports-directory-in-bug-reports ios Swift CocoaPods 에러 - You may have encountered a bug in the Ruby interpreter or extension libraries. [M1] cocoapods xcode 연동시 pod install 에러 velog.io pod: https://github.com/vincentneo/CoreGPX GitHub - vincentneo/CoreGPX:..