GO FURTHER, FASTER: Try the Swift Career Accelerator today! >>

Day 54 - "Undefined symbols for architecture arm64" errors

Forums > 100 Days of SwiftUI

Hi guys,

I have 6 errors during day 54 of the course:

Undefined symbols for architecture arm64: "_$s8Bookworm10RatingViewV6rating5label07maximumB08offImage02onH07ofColor0iK0AC7SwiftUI7BindingVySiGSSSiAK0H0VSgApK0K0VAStcfC", referenced from: $s8Bookworm11AddBookViewV4bodyQrvg7SwiftUI4FormVyAE05TupleD0VyAE9TextFieldVyAE0J0VG_AnE6PickerVyAMSSAE7ForEachVySaySSGSSAMGGAE7SectionVyAmIyAE0J6EditorV_AA06RatingD0VtGAE05EmptyD0VGAWyA2_AE6ButtonVyAMGA2_GtGGyXEfU_A8_yXEfU_A0yXEfU0 in AddBookView.o "_$s8Bookworm10RatingViewV6rating5label07maximumB08offImage02onH07ofColor0iK0AC7SwiftUI7BindingVySiGSSSiAK0H0VSgApK0K0VAStcfcfA0", referenced from: _$s8Bookworm11AddBookViewV4bodyQrvg7SwiftUI4FormVyAE05TupleD0VyAE9TextFieldVyAE0J0VG_AnE6PickerVyAMSSAE7ForEachVySaySSGSSAMGGAE7SectionVyAmIyAE0J6EditorV_AA06RatingD0VtGAE05EmptyD0VGAWyA2_AE6ButtonVyAMGA2_GtGGyXEfU_A8_yXEfU_A0yXEfU0 in AddBookView.o "_$s8Bookworm10RatingViewV6rating5label07maximumB08offImage02onH07ofColor0iK0AC7SwiftUI7BindingVySiGSSSiAK0H0VSgApK0K0VAStcfcfA1", referenced from: _$s8Bookworm11AddBookViewV4bodyQrvg7SwiftUI4FormVyAE05TupleD0VyAE9TextFieldVyAE0J0VG_AnE6PickerVyAMSSAE7ForEachVySaySSGSSAMGGAE7SectionVyAmIyAE0J6EditorV_AA06RatingD0VtGAE05EmptyD0VGAWyA2_AE6ButtonVyAMGA2_GtGGyXEfU_A8_yXEfU_A0yXEfU0 in AddBookView.o "_$s8Bookworm10RatingViewV6rating5label07maximumB08offImage02onH07ofColor0iK0AC7SwiftUI7BindingVySiGSSSiAK0H0VSgApK0K0VAStcfcfA3", referenced from: _$s8Bookworm11AddBookViewV4bodyQrvg7SwiftUI4FormVyAE05TupleD0VyAE9TextFieldVyAE0J0VG_AnE6PickerVyAMSSAE7ForEachVySaySSGSSAMGGAE7SectionVyAmIyAE0J6EditorV_AA06RatingD0VtGAE05EmptyD0VGAWyA2_AE6ButtonVyAMGA2_GtGGyXEfU_A8_yXEfU_A0yXEfU0 in AddBookView.o "_$s8Bookworm10RatingViewV6rating5label07maximumB08offImage02onH07ofColor0iK0AC7SwiftUI7BindingVySiGSSSiAK0H0VSgApK0K0VAStcfcfA4", referenced from: _$s8Bookworm11AddBookViewV4bodyQrvg7SwiftUI4FormVyAE05TupleD0VyAE9TextFieldVyAE0J0VG_AnE6PickerVyAMSSAE7ForEachVySaySSGSSAMGGAE7SectionVyAmIyAE0J6EditorV_AA06RatingD0VtGAE05EmptyD0VGAWyA2_AE6ButtonVyAMGA2_GtGGyXEfU_A8_yXEfU_A0yXEfU0 in AddBookView.o "_$s8Bookworm10RatingViewV6rating5label07maximumB08offImage02onH07ofColor0iK0AC7SwiftUI7BindingVySiGSSSiAK0H0VSgApK0K0VAStcfcfA5", referenced from: _$s8Bookworm11AddBookViewV4bodyQrvg7SwiftUI4FormVyAE05TupleD0VyAE9TextFieldVyAE0J0VG_AnE6PickerVyAMSSAE7ForEachVySaySSGSSAMGGAE7SectionVyAmIyAE0J6EditorV_AA06RatingD0VtGAE05EmptyD0VGAWyA2_AE6ButtonVyAMGA2_GtGGyXEfU_A8_yXEfU_A0yXEfU0 in AddBookView.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

and I can't find a solution for it. Could you help me, please?

2      

Is this in the "log" window? Do the code work or crashes? If so read On Log Noise.

2      

I went line by line and found the problem...there was a "section" missing in the code.

2      

Hacking with Swift is sponsored by Essential Developer.

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until September 29th.

Click to save your spot

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.